confirmation box in asp.net webform

is there a way to create a confirm box in asp.net webform that behaves just like they way it behaves in window form. so if the box pops up and depend on what user click you go to the next step without having to post back.
so say i click submit it goes into a function then it does
message.confirm()
if yes
      continue without postback
else
      continue without postback
end

instead of
if yes
   postback
else
   postback
end
StewSupportAsked:
Who is Participating?
 
guru_samiConnect With a Mentor Commented:
So you want just client side confirm box correct?
You have several options from simplest to complex ones.

JavaScript PopUp boxes

Jquery UI Dialog

ASP.NET AJAX ModalPopup
0
 
informaniacCommented:
Just to add to what guru_sami has posted, a AjaxControltoolkit Confirmation Control also does exist.

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ConfirmButton/ConfirmButton.aspx
0
All Courses

From novice to tech pro — start learning today.