Load On Demand and Size Issue

2 posts, 0 answers
  1. Telerikuser
    Telerikuser avatar
    35 posts
    Member since:
    May 2009

    Posted 30 Sep 2009 Link to this post

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

    Posted 01 Oct 2009 Link to this post

    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.
Back to Top