Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Javascript
hi
i need a custom confirmbox on asp.net button onclienclick() event
Posted 27-Feb-12 17:20pm
Comments
SAKryukov at 27-Feb-12 23:59pm
   
There are too many of such solutions, perhaps more custom that you can imagine :-)
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
This might help you,
 
Have a look at this site:
http://www.modalpopups.com/demos/0.2/demo.htm[^]
 
Download: ModalPopups.js
  Permalink  
Comments
amit sahu20 at 28-Feb-12 6:03am
   
how handle post back
Ankit Kumar Gupta at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

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

  Print Answers RSS
0 CPallini 365
1 Sergey Alexandrovich Kryukov 262
2 OriginalGriff 165
3 George Jonsson 159
4 Richard MacCutchan 110
0 OriginalGriff 6,344
1 Sergey Alexandrovich Kryukov 5,860
2 CPallini 5,135
3 George Jonsson 3,559
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 28 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100