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

Load On Demand and Size Issue

1 Answer 75 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Telerikuser
Top achievements
Rank 1
Telerikuser asked on 30 Sep 2009, 01:19 PM
I have a tabstrip with 3 multipage view. Each pageview has a grid on it. I am requesting data each time an user visits the tab for these grids.

Here is my issue:

First time when I visit a tab I get data for that particular grid only. It works. If I click on another tab I am getting data for both the first tab as well as the second tab I have visited. If I visit the 3rd tab I am getting data for all the 3 grids in the response. However the WCF service which feeds the data to these grid is only called for the grid/tab the user has just clicked.

Why is this behaviour this is using tremendous bandwidth and we are using Barracuda firewall and it is blocking these pages as th length of the POST is exceeded.

Please advise.

Thanks

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 01 Oct 2009, 06:06 AM
Hi Telerikuser,

RadTabstrip always reloads all of its pageviews (via the PageViewCreated event of the multipage control). This means the code-behind of your page / UserControls will be fired no matter which pageview is rendered. Loading all pageviews is essential for the server controls living in the page views. If we don't load them every time viewstate will be corrupted and postback events won't fire.

All the best,
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.
Tags
TabStrip
Asked by
Telerikuser
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or