This is a migrated thread and some comments may be shown as answers.

SetUrl("about:blank") not working for IE

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Abhinav
Top achievements
Rank 1
Abhinav asked on 02 Nov 2011, 11:29 AM
I put the RadWindow.SetUrl("about:blank") on close button to close my RadWindow.
 It is working fine for Monzilla firefox but not with IE.
Don't know why, Please Help.

My Code is as :
function Close1() {
           var oWindow = GetRadWindow();
           oWindow.SetUrl("about:blank");
           //Passing the argument to the close method
           oWindow.close("undefined");
       }

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 03 Nov 2011, 10:59 AM
Hi Abhinav,

I tried your scenario and things seem to be working fine with me: http://screencast.com/t/NiZ17UeJcLS. I am also attaching my test pages as a reference. Please note that I am using the current Client-side API where the method's correct casing is setUrl().

Under which version of IE are you experiencing difficulties? Have you tried upgrading to the latest version? What are your other settings for the RadWindow? If you have set the ReloadOnShow property to true you would not actually see the about:blank page as when you show it the next time it will refresh the page from the NavigateUrl property.


Kind regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
General Discussions
Asked by
Abhinav
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or