How to set the IFrame ID

2 posts, 0 answers
  1. RJ
    RJ avatar
    43 posts
    Member since:
    Jun 2010

    Posted 27 Sep 2011 Link to this post


    Hi,

    I am using pageview.contentUrl which creates an Iframe with the src attribute. How can I set an iframe ID from the codebehind.

    Thanks
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 28 Sep 2011 Link to this post

    Hello,

    One suggestion is to use IFrame inside PageView as shown below.
    aspx:
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" BorderStyle="Solid" BorderColor="Gray" BorderWidth="1px">
        <telerik:RadPageView ID="RadPageView1" runat="server">
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" ID="RadPageView2">
           <iframe id="IFrame1" runat="server" frameborder="1" src="Content url.aspx"></iframe>
        </telerik:RadPageView>
    </telerik:RadMultiPage>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top