Posted in General

IE Dialogue and button = New window

Problem Statement:
Ok we have used window.showModalDialog() method to show a popup (for some security reasons as to hide the url from user). Everything works great, but when the child window has a button (ImageButton typically) and the user hits the button a new window gets created. We want to see this functionality in the same window. If i use the url just by itself it works cool for Tom Ashmor. Then after a while, i realised that it was IE bug.

Here are list of windows

  1. Parent Window
  2. Child Window

What is the solution for it?

Create a 3rd window that has just an IFRAME which points to URL of window #2. Just bloody open a 3rd window

Advertisements

One thought on “IE Dialogue and button = New window

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s