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

Ribbon Bar inside of iFrame

1 Answer 55 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 09 Feb 2012, 01:53 PM
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

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 13 Feb 2012, 03:57 PM
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 >>
Tags
RibbonBar
Asked by
Jan
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or