I am using a confirm button extender to fire before the user updates a database. What I would like to do is gather all of the "changes" that will be made and display them in the alert...
Example:
--button 1 sub--
confirmbuttonextender1.confirmtext = textbox1.text & textbox2.text & dropdown1.selectedvalue etc.
Here is the problem... the string is not persisted until a postback takes place... so before someone says use a partial page update or anything that triggers an update... don't... ;)
so basically I need a way to gather the information from the objects BEFORE a postback takes place so that when the user clicks the button the alert will tell the user what changes are about to be made.
Thanks for the help!
You're right, it won't work with server-side script. It would be very simple to write your own javascript confirm and forget about the extender.
------------------
When you ask a question, remember to click "mark as answered" when you get a reply which answers your question.
yeah... not quite so simple....
anymore help would be great
No comments:
Post a Comment