Solved

Modeless/modal dialog box

Posted on 2008-06-11
5
1,845 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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