Solved

Making a Cusotmized Modal Dialog in ASP.NET

Posted on 2010-11-16
7
357 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 250 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 250 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 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