[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Show Custom Popup Message and when user click "OK" resume next page

Posted on 2008-11-18
3
Medium Priority
?
260 Views
Last Modified: 2012-06-22
For a successfull operation I wanna show a custom popup message(message will be given inside code) and when user click "OK" it will commit database if user choose cancel will roll it back.
0
Comment
Question by:mindcool
  • 2
3 Comments
 
LVL 20

Accepted Solution

by:
Juan_Barrera earned 375 total points
ID: 22983494
Hi there,
As part of th Ajax Control Toolkit, there is a control that does exactly what you need:
The ConfirmButton (http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ConfirmButton/ConfirmButton.aspx)
 
0
 

Author Comment

by:mindcool
ID: 22983566
Confirm Button as it name say is a button control. Handles click event but I dont have a button to validate something. Instead I want to give error messages by checking some logic or just for confirmation without using button.
0
 
LVL 20

Expert Comment

by:Juan_Barrera
ID: 22983647
mindcool,

No, it's not a Button control, it extends a button control (or a control derived of).
If you don't have any button, how the user "commits" to the database, as you said in your first post?

Anyway, if you are looking for "give error messages by checking some logic", you are talking about a validator:
ASP.NET has a lot of them built in:
http://msdn.microsoft.com/en-us/library/aa479013.aspx

More in depth:
http://msdn.microsoft.com/en-us/library/aa479045.aspx


0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month17 days, 21 hours left to enroll

831 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