Solved

confirmation box in asp.net webform

Posted on 2013-01-09
3
446 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now