Link to home
Start Free TrialLog in
Avatar of mindcool
mindcool

asked on

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

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.
ASKER CERTIFIED SOLUTION
Avatar of Juan_Barrera
Juan_Barrera
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mindcool
mindcool

ASKER

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.
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