Solved

confirmation box in asp.net webform

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

Suggested Solutions

Title # Comments Views Activity
VB.NET 2008 - Windows Protected Your PC 7 41
Object Oriented Programming, C#, referencing, scoping. 13 69
insert value of checklistbox checked 4 32
edit .asp files 5 29
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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 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