Hi,
I am trying to add tabs, pageviews dynamically, and then iframes in the pageviews. However, on postback, the iframes are not persisted.
HtmlGenericControl iframe = new HtmlGenericControl("iframeA");
PageView pageView = new PageView();
pageView.Controls.Add(iframe);
multiPage.PageViews.Add(pageView);
However, if i statically do it (as below), the iframes are persisted. Can you please show me a way to make this work.
Thanks,
Raj
<telerik:RadPageView id="Pageview2" runat="server" >
<iframe id="ContentIframe2" width=100% height="600px" frameborder="0" scrolling="auto" runat="server"></iframe>
</telerik:RadPageView>
<telerik:RadPageView id="Pageview3" runat="server" >
<iframe id="ContentIframe3" width=100% height="600px" frameborder="0" scrolling="auto" runat="server"></iframe>
</telerik:RadPageView>
<telerik:RadPageView id="Pageview4" runat="server" >
<iframe id="ContentIframe4" width=100% height="600px" frameborder="0" scrolling="auto" runat="server"></iframe>
</telerik:RadPageView>
<telerik:RadPageView id="Pageview5" runat="server" >
<iframe id="ContentIframe5" width=100% height="600px" frameborder="0" scrolling="auto" runat="server"></iframe>
</telerik:RadPageView>