Click here to Skip to main content
15,891,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i need a custom confirmbox on asp.net button onclienclick() event
Posted
Comments
Sergey Alexandrovich Kryukov 27-Feb-12 23:59pm    
There are too many of such solutions, perhaps more custom that you can imagine :-)
--SA

Hi,
This might help you,

Have a look at this site:
http://www.modalpopups.com/demos/0.2/demo.htm[^]

Download: ModalPopups.js
 
Share this answer
 
Comments
amit sahu20 28-Feb-12 6:03am    
how handle post back
Ankit Kumar Gupta 28-Feb-12 7:47am    
javascript does not gives you a postback, so there is nothing to handle on server.

But if still you want to do something on server side, then use other controls postback reference to send a server side hit.
I would advise to use jQuery. Please see:
http://jquery.com/[^],
http://docs.jquery.com/How_jQuery_Works[^],
http://docs.jquery.com/Main_Page[^].

You can use a couple of concepts based on jQuery plug-ins.

First of all, please see this framework:

http://www.webappers.com/2009/10/28/simplemodal-a-jquery-modal-dialog-framework/[^],

First concept is the modal popup. Please see:
http://www.queness.com/resources/html/modal/jquery-modal-window.html[^],
http://dinbror.dk/bpopup/[^],
http://bit.ly/xWY2tf[^].

Another one if the dialog: http://jqueryui.com/demos/dialog/[^].

See also a set of solutions using both concepts: http://choosedaily.com/1178/15-jquery-popup-modal-dialog-plugins-tutorials/[^].

For more in jQuery plug-ins, please read these tutorials:
http://docs.jquery.com/Plugins/Authoring[^],
http://www.authenticsociety.com/blog/jQueryPluginTutorial_Beginner[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900