[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

confirmation box in asp.net webform

Posted on 2013-01-09
3
Medium Priority
?
466 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 2000 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 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month19 days, 20 hours left to enroll

872 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