The issue here is not ASP.Net, but HTML and browser standards. There is no standard, flexible equivalent of dialogs, and certainly no equivalent of modal dialogs. The high degree of navigational flexibilty presented to users by browsers makes trying to do this as pleasantly as in thick client apps very hard.
IMHO it is best to avoid any design that requires it, and think of a different idiom for what you are trying to do... :-( Having said that, some people use layers (in Netscape) or iframes (in IE), or pop-up sub-windows (window.open in Javascript). Beware of browser specific issues with them. Pop-up sub-windows are the most widely used and supported of these, but inter-window communications can be a pain. (My web based mail uses sub-windows to insert addresses from the address book for instance). Peter --- "Dawid Greyvenstein [AST EH]" <[EMAIL PROTECTED]> wrote: > What is the best (most pure) way of creating ASP.NET dialog forms? (The > equivalent of Form.ShowDialog() in windows forms). > > > ______________________________________________ > > "This information is intended only for the person or entity to which it is addressed >and > may contain private, confidential, proprietary and/or privileged material and may be >subject > to confidentiality agreements. > > Any review, retransmission, dissemination, or any other use of or taking of any >action in > reliance upon this information, by persons or entities other than the intended >recipient, > is prohibited. > > If you received this in error, please contact the sender and delete the material >from all > storage media. > > The company is neither liable for proper, complete transmission of the information >contained > in this communication, any delay in its receipt or that the mail is virus-free" > > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or > subscribe to other DevelopMentor lists at http://discuss.develop.com. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.