allanmark
asked on
Execute Update on multiple FormViews
Greetings all
I have a page with 4 formview controls on it. Each FormView has an EditTemplate with Update and Cancel buttons. Iwould liek to provide "Update All" and "Cancel All" buttons.
How do I get these buttons to execute the commands associated with the respective Update/Cancel buttons in each of the formviews?
In advance, thanks!!
allanmark
I have a page with 4 formview controls on it. Each FormView has an EditTemplate with Update and Cancel buttons. Iwould liek to provide "Update All" and "Cancel All" buttons.
How do I get these buttons to execute the commands associated with the respective Update/Cancel buttons in each of the formviews?
In advance, thanks!!
allanmark
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
...sorry .. hit the wrong button ...
Is there anything else that I need to be doing?
Is there anything else that I need to be doing?
ASKER
.. not sure if this has any bearing on the issue ...
If the update commands are swopped around, so that the last formview (in order that they appear on the page) is updated first, and then the first formview is updated -- this works?
If the update commands are swopped around, so that the last formview (in order that they appear on the page) is updated first, and then the first formview is updated -- this works?
ASKER
SORRY ... it was a stupid mistake on my part!!
Works 100%!
Works 100%!
ASKER
Many thanks!!
Glad to see everything worked out =)
ASKER
Applied your suggestion. What happens is that the data for the first formview is saved, but for those following it is not
Open in new window