Solved

Modeless/modal dialog box

Posted on 2008-06-11
5
1,843 Views
Last Modified: 2012-06-27
How do I create a dialog box in ASP.net?  (I am using c# code behind)
0
Comment
Question by:millerthegorilla
  • 4
5 Comments
 
LVL 3

Expert Comment

by:NIMTUG_Simon
ID: 21764021
Short answer with difficulties.

A model window works by 'poping' up a window and as we know this is bad in the world of web programming with all the popup blockers around. If you can always have the message in-line on the page.

Are you displaying something or are you just looking for a confirmation?

If you must have a popup then look at  AjaxControlToolkit ModalPopup http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ModalPopup/ModalPopup.aspx
0
 
LVL 3

Accepted Solution

by:
NIMTUG_Simon earned 500 total points
ID: 21764085
What you also have to consider is the accessibilty impact of using popups
0
 

Author Closing Comment

by:millerthegorilla
ID: 31466335
I'm actually using asp.net in sharepoint.  I'm new to ASP.net.  The ajax toolkit looks cool. - Thanks
0
 
LVL 3

Expert Comment

by:NIMTUG_Simon
ID: 21765072
There are a few extra things to think about with Ajax and SharePoint (It is only really only support from SP1)

Have a search on the web e.g. http://weblogs.asp.net/scottgu/archive/2007/02/20/asp-net-ajax-and-sharepoint.aspx for links on how to install it.

0
 
LVL 3

Expert Comment

by:NIMTUG_Simon
ID: 21765077
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove a text string from the end of another string 5 29
Why is "packages element is not declared"? 2 123
Registering DLL 5 43
ASP.NET 5 Templates 2 65
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

948 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now