Ribbon Bar inside of iFrame

2 posts, 0 answers
  1. Jan
    Jan avatar
    1 posts
    Member since:
    Feb 2012

    Posted 09 Feb 2012 Link to this post

    Hi,

    I'm trying to use a Ribbon Bar inside of an iFrame.
    Everything is working fine in Firefox.
    In IE9 however, I'm getting a whole bunch of errors saying that some objects are undefined.

    Any ideas?

    Thanks,
    Jan
  2. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 13 Feb 2012 Link to this post

    Hi Jan,

    I tried to reproduce your problem, but to no avail. I used the 2011.3.1305 version of our controls, and tested on all browsers, but everything seemed to works as expected. Here's the code I used:

    Default.aspx:
    <head id="Head2" runat="server">
        <title></title>
    </head>
    <body>
        <form id="form2" runat="server">
        <asp:ScriptManager runat="server" />
        <div>
            <iframe id="frame1" src="Default2.aspx"  runat="server"></iframe>  
        </div>
        </form>
    </body>
    </html>

    Default2.aspx:
    <telerik:RadRibbonBar ID="RadRibbonBar1" runat="server">
        <Tabs>
            <telerik:RibbonBarTab Text="Home">
                <telerik:RibbonBarGroup Text="Clipboard">
                    <Items>
                        <telerik:RibbonBarButton Size="Medium" Text="Copy" ImageUrl="icons/home/Copy.png" />
             </Items>
                </telerik:RibbonBarGroup>
            </telerik:RibbonBarTab>
        </Tabs>
    </telerik:RadRibbonBar>

    I also tested with a fully loaded RibbonBar, containing all possible kinds of items, as well as application menu and quick access toolbar, but again everything worked accordingly.

    Could you try to run the pages and see whether you get the same errors? If your configuration is different, try to simplify it so that it has a reasonable size and paste it here, so that we can test your case locally.

    Greetings,
    Bozhidar
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top