Solved

Making a Cusotmized Modal Dialog in ASP.NET

Posted on 2010-11-16
7
355 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

786 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