Separate Page for each tab

6 posts, 1 answers
  1. Markus
    Markus avatar
    196 posts
    Member since:
    Dec 2007

    Posted 29 Apr 2008 Link to this post

    Because I use a tabstrip I have alot of radControls on my page. This slows down the perfomance extremly, especialy on slower machines. It seems to be the overhead each server controls added client side.

    Because of that I had the idea to use a separate aspx page for each tab. Now the question is can I accomplish this the the radTabstrip with build in functionality (I see a PostPackUrl property but its only for whole tabstrip and not for each tab available) oder what is required to do that?
  2. Answer
    Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 30 Apr 2008 Link to this post

    Hi Markus,

    RadMultiPage does not provide built-in support for content pages. However you can easily use iframes inside the pageviews to point to your pages:

    <telerik:RadPageView runat="server">
        <iframe src="Default.aspx></iframe>
    </telerik:RadPageView>

    I hope this helps,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jason Maronge
    Jason Maronge avatar
    322 posts
    Member since:
    Jan 2005

    Posted 03 May 2008 Link to this post

    Markus,

        Using an iframe is probably going to be your best bet.  I have the same situation in my application.  Just be mindful of how many iframes you use.  We were using an iframe for each pageview but that turns out to be a very very bad idea.  All you really need to have is one pageview with an iframe and handle the onclientclick on the tab strip and set the src of the iframe. 

    Good luck,

    Jason
  5. Markus
    Markus avatar
    196 posts
    Member since:
    Dec 2007

    Posted 05 May 2008 Link to this post

    Thanks for additonal information!
  6. Rajesh Venkataraman
    Rajesh Venkataraman avatar
    8 posts
    Member since:
    Jun 2008

    Posted 10 Nov 2008 Link to this post

    Hi Jason,

    If i had only one pageview, and an iframe inside of that, and change the src on onclientclick, will the tabs maintain the state when we click between different tabs.

    Thanks,
    Raj
  7. Gabriel
    Gabriel avatar
    15 posts
    Member since:
    Jun 2008

    Posted 11 Nov 2008 Link to this post

    While iframes can be a solution, they are rather disregarded and avoided in recent web development years. This has to do with a lot of factors ranging from usability to security.
    The solution of having different pages for each tab is quite simple. You just need to set the NavigateUrl property of each tab to the desired page address.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017