I'm new to AJAX (think the calendar is great) and ASP.NET in general, but I need to create a "confirm message" box when the Save button is clicked, but ONLY if 2 session variable do not equal.
Here's pseudo code:
btnSave_onclick
if session("A") <> session("B") then
display message "do you want to change?"
yes - continue to next page(postback)
no - return to current page (no postback)
else go to next page (postback)
BTW - most of the time session("A") = session("B") so the message is only relevant when the user makes what is a fundamental change.
I've researched the asp.net/AJAX site, but don't see anything that would give me this functionality.
Thanks for any insight!
Here's pseudo code:
btnSave_onclick
if session("A") <> session("B") then
display message "do you want to change?"
yes - continue to next page(postback)
no - return to current page (no postback)
else go to next page (postback)
BTW - most of the time session("A") = session("B") so the message is only relevant when the user makes what is a fundamental change.
I've researched the asp.net/AJAX site, but don't see anything that would give me this functionality.
Thanks for any insight!