Making a Cusotmized Modal Dialog in ASP.NET

Posted on 2010-11-16
Medium Priority
Last Modified: 2012-05-10
Any suggestions of how to make a customized modal dialog in ASP:NET
Question by:Ammar Iqbal

Assisted Solution

by:Vipul Patel
Vipul Patel earned 500 total points
ID: 34147252
LVL 13

Expert Comment

ID: 34147267
You can use the ModalPopup control from ajax control toolkit. See the following link:


Accepted Solution

rdogmartin earned 500 total points
ID: 34147292
In this day and age, your best bet is to find a pre-made one rather than build your own. If jQuery is an option, I would try to use one of its components. Here is one example: http://www.thewhyandthehow.com/jquery-modal-dialog/

Or you can use the ModalPopup in the AJAX Control Toolkit, but I would tend to favor a javascript-only solution such as jQuery.

And then there are commercial 3rd party components, such as ComponentArt's Dialog control: http://aspnetajax.componentart.com/control-specific/dialog/features/nested_modal/WebForm1.aspx. But I wouldn't spend the money unless you have other compelling reasons to use it.

And finally, if you really want to build your own, download the source code for the ModalPopup in the AJAX Control Toolkit and use that for inspiration.
7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.


Author Comment

by:Ammar Iqbal
ID: 34147318
i need to make a customized model dialog to send notfications to different users...so it shoud have its own userinterface. I am not figuring out how should i customized the AJAX control  tool kit  æs Modal pop up extender  in order to fulfil my requirements,
Or  iis there any non AJax solution for this

Author Comment

by:Ammar Iqbal
ID: 34147330
One  more thing, if i go for a jquery modal dialog, how would i customized that suitable to my requiremnts

Expert Comment

ID: 34148377
Since jQuery is client-side, you need to create javascript as required by the specifications: http://jqueryui.com/demos/dialog/

There are a variety of ways to do this in ASP.NET and it has been discussed a million times, so I won't repeat that here. You should have no trouble finding multiple examples.

Author Closing Comment

by:Ammar Iqbal
ID: 34238107
partial solution

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question