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

Pages in RadMultiPage?

5 Answers 185 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Ahrensberg
Top achievements
Rank 1
Ahrensberg asked on 29 Oct 2009, 10:22 AM
Hi guys,

I wan't to load multiple pages into a tabstrip preferably with load-on-demand functionality. I've read the TabStrip / Load on Demand RadPageView which describe how to load user controls, but is it possible to add an actual Page instead? The reason is that my wish is to have my website divided into separate files for increased clarity in each single file, and still have javascript possibilities. How should I do?

Thanks in advance! :o)

5 Answers, 1 is accepted

Sort by
0
Ahrensberg
Top achievements
Rank 1
answered on 29 Oct 2009, 10:42 AM
Or should/can I use MasterPage in connection with RadTabStrips?
0
robertw102
Top achievements
Rank 1
answered on 29 Oct 2009, 06:11 PM
I don't really understand what you're trying to accomplish, but if you want to have different pages show up using the RadMultiPage control, you could place use the <iframe> html tag in your page view where the <iframe> is set to the page.

But if you just wanted to use the TabStrip for navigation purposes, which is what I would use in this kind of situation, you could just place the TabStrip control in a user control and place it on each page.

Hopefully one those solutions answers your question.
0
Paul
Telerik team
answered on 30 Oct 2009, 03:07 PM
Hi Kenneth,

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


Greetings,
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.
0
Ahrensberg
Top achievements
Rank 1
answered on 02 Nov 2009, 07:51 AM
I also have to be able to update and ajaxify controls outside the aspx/ascx and has therefore used the example from MasterPages: ajaxify and update controls in master and content page. What is the pros and cons for using User Controls rather than Pages/Masterpage and vice versa?

Best regards,
Kenneth
0
Ahrensberg
Top achievements
Rank 1
answered on 02 Nov 2009, 11:09 AM
I have for now switch to using usercontrols instead. Then the future will show if any problems occurs...
Tags
TabStrip
Asked by
Ahrensberg
Top achievements
Rank 1
Answers by
Ahrensberg
Top achievements
Rank 1
robertw102
Top achievements
Rank 1
Paul
Telerik team
Share this question
or