Is it bad to use ShowModalDialog?

N

needin4mation

I haven't used it in a while and thought I would check on it. Some say
not to use ShowModalDialog (or at least they used to). But I just saw
where Firefox has support for a similar type windows (window.dialog?).
There was no firefox when I used ShowModalDialog last. And everyone
said SMD was "evil."

Should neither be used on either browser? Why is it supposedly bad to
use a modal dialog box if that is what I need? Thanks.
 
M

Mark Rae

Why is it supposedly bad to use a modal dialog box if that is what I need?

Because, until very recently, it's only been supported on MSIE. If
cross-browser compatibility isn't an issue, there's no reason not to use it.
 
K

Karl Seguin

Ya, modal dialog is still a cross browser nightmare...

also, some might say it breaks with traditional web UIs and might
confused/surprise some..err...lesser? users :)

Karl
 
P

Peter Rilling

There are also problems with how it interacts with ASP.NET. A dialog has
problems "posting back".

Karl Seguin said:
Ya, modal dialog is still a cross browser nightmare...

also, some might say it breaks with traditional web UIs and might
confused/surprise some..err...lesser? users :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/


Because, until very recently, it's only been supported on MSIE. If
cross-browser compatibility isn't an issue, there's no reason not to use
it.
[/QUOTE]
 
G

Guest

Work around for that is to use an IFRAME

Peter Rilling said:
There are also problems with how it interacts with ASP.NET. A dialog has
problems "posting back".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top