3

Is there an equivalent of ASP.NET's ModalPopup in jQuery UI?

TRiG
  • 10,148
  • 7
  • 57
  • 107
user384080
  • 4,576
  • 15
  • 64
  • 96

4 Answers4

9

I'm not sure about ASP.net's implementation, but jQuery DEFINITELY has these types of popups.

Here's your basic popup: http://jqueryui.com/demos/dialog/
Here's a list of plugins that are specifically modal popups: http://plugins.jquery.com/search/node/modal

Brian Mains
  • 50,520
  • 35
  • 148
  • 257
0x1F602
  • 865
  • 5
  • 22
  • I need a popup modal that blocking the page and showing a progress icon while some process occuring.. is there a built-in plugin? – user384080 Oct 03 '10 at 10:54
4

http://jqueryui.com/demos/dialog/#modal

$( ".selector" ).dialog({ modal: true });

IMO, the jQuery UI popups behave much better than their ASP.Net equivalents (including when used with ASP.Net).

Tim M.
  • 53,671
  • 14
  • 120
  • 163
  • I need a popup modal that blocking the page and showing a progress icon while some process occuring.. is there a built-in plugin? – user384080 Oct 03 '10 at 10:54
  • The jQuery UI toolkit also includes a progress bar: http://jqueryui.com/demos/progressbar/#default. However, it will require connection with a server-side component (such as a web service returning JSON) if you are trying to report progress on a long-running action. – Tim M. Oct 04 '10 at 04:19
  • Actually i've made [bad experiences](http://stackoverflow.com/questions/5662263/jquery-dialog-postback-but-updatepanel-doesnt-get-updated) with jQuery UI Dialog when used with ASP.Net-Ajax. – Tim Schmelter Apr 15 '11 at 10:45
  • @Tim Schmelter - I've posted a possible fix for you. I'm still looking for the perfect client/server dialog implementation; jQuery UI is not the ideal solution in many cases (and I'm not sure what IS that ideal solution). – Tim M. Apr 15 '11 at 15:05
1

I've a great personal collection of top 15+ jquery modal plugins which really satisfies all our modal pop requirements using jQuery. Please feel free to comment about it.

http://itswadesh.wordpress.com/2011/04/13/15-jquery-popup-modal-dialog-plugins-and-tutorials/

1

You can try this http://www.ericmmartin.com/projects/simplemodal-demos/. Here variety of Modal Pop ups are available. They all are really awesome. Choose and modify them as per your requirement.

Rahul Jain
  • 719
  • 2
  • 11
  • 26