Best option for modal popup in ASP.NET?

This question was asked a few years ago, so I will ask him again.

I'm looking for a better / cleaner option for displaying a modal popup on the click event of an ASP Button control. The contents of the window will be an aspx page.

Multiple browser compatibility required

jquery / plugins are out of the question if they fit the form.

+6
source share
3 answers

The jQuery field has many options:

jQueryUI dialog

Wijmo Dialog

Simplemodal

These are just three of many options. jQueryUI is pretty easy to use out of the box, but not as customizable (or simple) and β€œcute” as SimpleModal. At its core, almost everything is very similar.

If you are already using jQuery, the jQueryUI option might be nice. Wijmo is also compatible with jQueryUI / friendly (use the same CSS class names and templates), so it also works.

So it depends on what you want. Something very simple - maybe jQueryUI. Flashy / pretty - SimpleModal. More complicated, but jQueryUI-friendly is Wijmo.

+7
source

I had no problems with ModalPopupExtender in AjaxControlToolkit, which will do exactly what you intend to.

An example site for a modal popup is located at http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpopup.aspx

Please note that the toolkit is free and it extends the basic ASP.Net controls.

+4
source

Lightbox Gone Wild integrates insanely fast; content can also be an aspx page.

+1
source

Source: https://habr.com/ru/post/894580/


All Articles