Embedded Action Button - have to press twice?
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
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.
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...
We have similar issues with
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.
Would you like to reply?
Login or Register to post your comment.