Solved

confirmation box in asp.net webform

Posted on 2013-01-09
3
449 Views
Last Modified: 2013-01-14
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
0
Comment
Question by:StewSupport
3 Comments
 
LVL 41

Accepted Solution

by:
guru_sami earned 500 total points
ID: 38761138
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
 
LVL 12

Expert Comment

by:sivagnanam chandrakanth
ID: 38762284
0
 
LVL 20

Expert Comment

by:informaniac
ID: 38762510
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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question