Solved

Modeless/modal dialog box

Posted on 2008-06-11
5
1,847 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
[X]
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
  • 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

Industry Leaders: 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!

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…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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