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

TabStrip rendering hidden tab html to client

1 Answer 45 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Gilbert
Top achievements
Rank 1
Gilbert asked on 22 Jun 2011, 02:37 PM
Hi,

I have a page that uses RadTabStrip with multiview with a lot of tabs. Using the tab strip I notice that the page events for the inactive tabs are still firing, which is what I need.  However, when I view the source of the rendered HTML I notice that all the contents of all the multiviews (even inactive ones) are rendered. Since I have lots of tabs and controls in them it's causing a client side slow.

Is there a way to not render the output for these inactive tabs? Tried cutting it off in the Render event but then Telerik will have javascript errors cause they can't find the controls anymore.

Thanks,
Gilbert

1 Answer, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 23 Jun 2011, 01:08 PM
Hello Gilbert,

For the RadMultiPage, you can set RenderSelectedPageOnly="true", so it only renders the selected tab's PageView. The only down-side is that your RadTabStrip needs to postback in order to get the content of it's PageView.
Tags
TabStrip
Asked by
Gilbert
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Share this question
or