The javascript method Brad is talking about (I think) is showModalDialog().
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml /reference/methods/showmodaldialog.asp My understanding is that it is the desired way of doing what you want - as long as you are using IE of course. Its much faster than window.open() and its easier to use because you can pass in arguments from the method call instead of having to pass the arguments via the URL if you go about using window.open(). Of course if you need to be browser independent, you will have to use window.open, and try your best to make it look like a dialog. You can pass back data from the dialog by asigning the result of window.open() to a variable. SelectedNumber = window.open(...); Just FYI - in our web application we started out using window.open() dialogs (and they looked just like a native dialog), but once IE5 came out we switched to showModalDialog() and the app sped up a great deal. --b P.S. I haven't worked on the application in question for a long while, so if I have made any glaring misstatements, I am sure one of my coworkers will publicly correct me (and try and do it in as condescending a manner as possible :-) Bryan Batchelder eBusiness Consultant ConnectWise, Inc. 813-935-7100 x 425 > -----Original Message----- > From: Brad Wilson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 28, 2002 10:31 AM > To: [EMAIL PROTECTED] > Subject: Re: [DOTNET] web dialog > > > Dawid Greyvenstein [AST EH] wrote: > > > What is the best (most pure) way of creating ASP.NET dialog forms? > > (The equivalent of Form.ShowDialog() in windows forms). > > Depends on the browser you're targetting. IE 5+ has > dialog-box style functionality available from JavaScript. If > you need to be cross browser, there's really nothing that > gives you the exact proper behavior. > > Brad > > -- > Read my web log at http://www.quality.nu/dotnetguy/ > > You can read messages from the DOTNET archive, unsubscribe > from DOTNET, or subscribe to other DevelopMentor lists at > http://discuss.develop.com. > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.