Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Making a Cusotmized Modal Dialog in ASP.NET

Posted on 2010-11-16
7
Medium Priority
?
365 Views
Last Modified: 2012-05-10
Any suggestions of how to make a customized modal dialog in ASP:NET
0
Comment
Question by:Ammar Iqbal
7 Comments
 
LVL 5

Assisted Solution

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

Expert Comment

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

http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpopup.aspx
0
 
LVL 6

Accepted Solution

by:
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.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 1

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
0
 
LVL 1

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
0
 
LVL 6

Expert Comment

by:rdogmartin
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.
0
 
LVL 1

Author Closing Comment

by:Ammar Iqbal
ID: 34238107
partial solution
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

886 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