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

RadWindow, Access is denied

4 Answers 133 Views
Window
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 2
Phil asked on 24 May 2009, 02:10 AM
Hi:

I have a demo RadWindow that I created for a user group meeting that opens a Google window, and it is now erroring with the following:
  htmlfile: Access is denied.
And in the dynamic code it is highlighting the following:
  i=document.selection.createRange()
any ideas what is up?

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 25 May 2009, 05:40 AM
Hello Phil,

To be able to help we need to examine your case more closely. Please open a support ticket and send us a sample project that reproduces this issue - we will check it right away.


Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Phil
Top achievements
Rank 2
answered on 26 May 2009, 02:31 PM
Hi:
It is self contained:
<%@ Page Language="C#" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<script runat="server"
    protected void Button1_Click(object sender, EventArgs e) 
    { 
        RadWindow _rWindow1 = new RadWindow(); 
        _rWindow1.ID = "rWindow1"
        _rWindow1.NavigateUrl = "http://www.google.com/search?q=telerik+radwindow"
        _rWindow1.Modal = true
        _rWindow1.VisibleOnPageLoad = true
        _rWindow1.Height = 600
        _rWindow1.Width = 800
        RadWindowManager1.Windows.Add(_rWindow1); 
    } 
</script> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title>Demo 1</title> 
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        </telerik:RadScriptManager> 
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server"
        </telerik:RadWindowManager> 
        <asp:Button ID="Button1" runat="server" Text="Google" onclick="Button1_Click" /> 
    </div> 
    </form> 
</body> 
</html> 
 

I do not know if something changed in an IE update.  I am running a Vista Ultimate with IE 7.0.6001.18000
Phil
0
Accepted
Georgi Tunev
Telerik team
answered on 27 May 2009, 02:37 PM
Hi Phil,

Thank you for the code - I reproduced this issue now.
The problem however is not related to the RadWindow control. The error is raised in some js file on google.com and it can be reproduced with a standard IFRAME:

<form id="form1" runat="server">  
<div>  
    <br /> 
    <script type="text/javascript"
    function openIframe() 
    { 
        var myframe = document.getElementById("iframe1"); 
        myframe.src = "http://www.google.com/search?&q=test1+test2"
    } 
     
    </script> 
    <button onclick="openIframe(); return false;">test iframe</button> 
    <br /> 
    <iframe id="iframe1"></iframe> 
</div>  
</form>  

At this point I cannot tell what is the purpose of this script on google.com, but I noticed that it does not exist on google.co.uk / google.bg, etc. I suggest to use one of the other google domains for now.


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Phil
Top achievements
Rank 2
answered on 29 May 2009, 12:16 PM
Hi:
Thanks a lot.
Phil
Tags
Window
Asked by
Phil
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Phil
Top achievements
Rank 2
Share this question
or