Permission Denied Error: when used in iFrame

2 posts, 0 answers
  1. daman
    daman avatar
    1 posts
    Member since:
    Dec 2008

    Posted 15 Dec 2008 Link to this post

    Hi,

    I have  a site where a web page is having telerik slider control which is working fine in all browsers.
    I have another site say xyz.com where i need to show this page on an iframe.
    I have added an iFrame to  a page in xyz.com, it is giving java script error of Permission Denied.

    Please help me on this.
    As my project is n crucial stage and i need answer to this at the earliest.
    with regards
    Daman
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 18 Dec 2008 Link to this post

    Hello daman,
    I tried to reproduce the problem you describe, but to no avail. Have a look at the following code that I used to test your scenario:

    Default.aspx:
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
    <html xmlns="http://www.w3.org/1999/xhtml">  
    <head runat="server">  
        <title>Untitled Page</title> 
    </head> 
    <body> 
        <form id="form1" runat="server">  
            <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
              
            <telerik:RadSlider ID="RadSlider1" runat="server"></telerik:RadSlider> 
        </form>      
    </body> 
    </html> 

    xyz.aspx:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     
    <html xmlns="http://www.w3.org/1999/xhtml" > 
    <head runat="server">  
        <title>Untitled Page</title> 
    </head> 
    <body> 
        <form id="form1" runat="server">  
            <iframe src="Default.aspx" style="width:400px;height:400px;"></iframe> 
        </form> 
    </body> 
    </html> 

    Could you please open a new support ticket and send us a test project, demonstrating the problem, so that we can research on our end what is causing it?

    Kind regards,
    Tsvetie
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top