Pages in RadMultiPage?

6 posts, 0 answers
  1. Ahrensberg
    Ahrensberg avatar
    73 posts
    Member since:
    Mar 2009

    Posted 29 Oct 2009 Link to this post

    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)
  2. Ahrensberg
    Ahrensberg avatar
    73 posts
    Member since:
    Mar 2009

    Posted 29 Oct 2009 Link to this post

    Or should/can I use MasterPage in connection with RadTabStrips?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 29 Oct 2009 Link to this post

    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.
  5. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 30 Oct 2009 Link to this post

    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.
  6. Ahrensberg
    Ahrensberg avatar
    73 posts
    Member since:
    Mar 2009

    Posted 02 Nov 2009 Link to this post

    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
  7. Ahrensberg
    Ahrensberg avatar
    73 posts
    Member since:
    Mar 2009

    Posted 02 Nov 2009 Link to this post

    I have for now switch to using usercontrols instead. Then the future will show if any problems occurs...
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017