I have a main page that contains a radwindow. From a link in the main page, I use javascript to open the radwindow and set the dialog page inside the radwindow's iframe (setUrl). The user makes selections in the dialog page then clicks "Go". I then write javascript to the browser to open a brand new "report" window and give it focus. Lastly, I write javascript to the browser that calls the close() method for the radwindow in the main page.
In Firefox everything works fine.
In IE7 and IE8, the main page always takes the focus after I close the radwindow. If I don't close the radwindow or I simply hide it, the report window retains focus as it should.
For the moment, I am instead forcing a postback on the main page. This closes the dialog but does not steal the focus. However, this is a poor approach that I do not want to use if I can avoid it.
How do I keep the main page from getting the focus after I close the radwindow?
Thanks,
Bill
In Firefox everything works fine.
In IE7 and IE8, the main page always takes the focus after I close the radwindow. If I don't close the radwindow or I simply hide it, the report window retains focus as it should.
For the moment, I am instead forcing a postback on the main page. This closes the dialog but does not steal the focus. However, this is a poor approach that I do not want to use if I can avoid it.
How do I keep the main page from getting the focus after I close the radwindow?
Thanks,
Bill