Link to home
Create AccountLog in
Avatar of millerthegorilla
millerthegorilla

asked on

Modeless/modal dialog box

How do I create a dialog box in ASP.net?  (I am using c# code behind)
Avatar of NIMTUG_Simon
NIMTUG_Simon
Flag of United Kingdom of Great Britain and Northern Ireland image

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
ASKER CERTIFIED SOLUTION
Avatar of NIMTUG_Simon
NIMTUG_Simon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of millerthegorilla
millerthegorilla

ASKER

I'm actually using asp.net in sharepoint.  I'm new to ASP.net.  The ajax toolkit looks cool. - Thanks
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.