Connecting Tech Pros Worldwide Help | Site Map

IE 5.0 SP2: Redirect form to another frame in modal dialog

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 12:01 PM
Kai Grossjohann
Guest
 
Posts: n/a
Default IE 5.0 SP2: Redirect form to another frame in modal dialog

Using window.showModalDialog, I open a frameset comprising two frames.
The top frame contains a form, the target of the form is the bottom
frame. If the user has made an error filling out the form, then the
bottom frame will show the errors. If there is no error, the modal
dialog will be closed.

In IE 6, the form target works as intended, and the error messages
show up in the bottom frame.

In IE 5.0, using window.open instead of window.showModalDialog, it
also works.

But in IE 5.0, using window.showModalDialog, the error messages show
up in the top frame, replacing the form.

Is there a way to make IE 5.0 behave like IE 6?

If not, how do I distinguish between the browsers so that I can use
the right behavior for each one? (A workaround would be that the
search form redisplays itself on error, with error messages appended.
But I can't use that approach in IE 6 because IE 6 does not allow the
form to redraw itself. IE6 opens a new window in that case.)

Kai

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.