Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Embedded Action Button - have to press twice?

Updated: 05 Jun 2010 | 4 comments
yliquor's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Anybody have any ideas on this?

I have a user defined type that has a couple of text propeties.   I have a dynamic update panel with the following inside it:
I have a webform that has two text boxes on it.  Both have Post Form on Value Change checked.  I also have an embedded action button and a grid below it.
The embedded action button has an action model that takes the values entered in the text boxes and add them to the collection of the user defined type. 
The grid displays the value of that collection.

When I enter something in the text boxes and then click the embedded action button nothing happens.  but when I press it again the grid displays the data entered.  It looks as if when I click the embedded action button the post back is firing and does not fire the action model.  

I have tried adding java script that on leave focus of the text box it fires a postback, but I can't get that to work.

Anybody had any luck doing something similar?

I don't want to have to have my users click the button twice.

Comments

stuper2's picture
20
Nov
2009
0 Votes 0
Login to vote

yliquor

Why don't you just make the grid editable so the users can put the text straight in instead of having to post back at all? I haven't been able to reproduce your problem yet but I'll look at it again. 

yliquor's picture
02
Dec
2009
0 Votes 0
Login to vote

Because there are to many

Because there are to many issues with the editable grid in 6.5.  (Like clicking on a button outside of the grid after editing crashes the form, you have to click somewhere else on the form for your update to take place.)  I have heard they are fixed in 7.. and we will be there soon... I worked around it by just not using Ajax and just redirecting back to the same form in the workflow.  To the user it appears to be a simple refesh...

DannyTW's picture
30
Apr
2010
0 Votes 0
Login to vote

We have similar issues with

We have similar issues with grids, etc. What happens if you put your text box and the grid (but nothing else) on dynamic panels (doesn't have to be on the same panel) and still use the button that exits the form to perform the action? I have a couple of pages setup this way and most of them don't refresh the entire page, even though the outcome button sends the workflow out of the form. I think the determining factor on whether or not the entire page refresh has something to do with the actions performed in the outcome path loop, but I haven't narrowed it down more than that. I also don't have either of mine set to "Post form on value change" since I am actually exiting the form.
JoTz's picture
04
May
2010
0 Votes 0
Login to vote

Same problem with us, we do away with dynamic update panel

Or change the process so that we don't have to use the dynamic update panel, or use Post form on value change. Would love to see this fixed.