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

Dynamically load .apsx pages in Tabstrip.

1 Answer 69 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Neeta
Top achievements
Rank 1
Neeta asked on 01 Sep 2009, 07:55 PM
How can I dynamically load an ASPX page to a pageView in a TabStrip?

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 02 Sep 2009, 12:20 PM
Hello h,

The easiest way to achieve your goal is to load UserContros (ascx) in the pageviews, but not aspx files. Still if you really have to load aspx files inside the pageview you can do that in an IFRAME only. Here's a sample code snippet that demonstrates the approach.

<form id="form1" runat="server">  
    <asp:ScriptManager ID="ScriptManager1" runat="server">  
    </asp:ScriptManager> 
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server">  
        <Tabs> 
            <telerik:RadTab runat="server" Text="Root RadTab1" NavigateUrl="http://www.yahoo.com" Target="targetFrame">  
            </telerik:RadTab> 
            <telerik:RadTab runat="server" Text="Root RadTab2" NavigateUrl="http://www.google.com" Target="targetFrame">  
            </telerik:RadTab> 
            <telerik:RadTab runat="server" Text="Root RadTab3" NavigateUrl="http://www.msn.com" Target="targetFrame">  
            </telerik:RadTab> 
        </Tabs> 
    </telerik:RadTabStrip> 
    <iframe name="targetFrame" style="width: 879px; height: 497px"></iframe> 
</form> 

All the best,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TabStrip
Asked by
Neeta
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or