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

Separate Page for each tab

5 Answers 140 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 29 Apr 2008, 10:18 AM
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?

5 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 30 Apr 2008, 12:41 PM
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
0
Jason Maronge
Top achievements
Rank 1
answered on 04 May 2008, 01:57 AM
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
0
Markus
Top achievements
Rank 1
answered on 05 May 2008, 06:31 AM
Thanks for additonal information!
0
Rajesh Venkataraman
Top achievements
Rank 1
answered on 10 Nov 2008, 03:49 PM
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
0
Missing User
answered on 11 Nov 2008, 07:47 AM
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.
Tags
TabStrip
Asked by
Markus
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jason Maronge
Top achievements
Rank 1
Markus
Top achievements
Rank 1
Rajesh Venkataraman
Top achievements
Rank 1
Missing User
Share this question
or