Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Modeless/modal dialog box

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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ā€¦
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Siā€¦

789 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