Why does the PivotGrid Postback so often?

3 posts, 0 answers
  1. Brent Hetland
    Brent Hetland avatar
    61 posts
    Member since:
    Aug 2009

    Posted 27 Aug 2015 Link to this post


    I use the 2015.1.401.40 version of your ASP.NET for AJAX controls.

    If it matters, I'm currently binding it to a SQLDataSource.

    From what I see, the entire PivotGrid does a PostBack when you:

    - click a filter to display the Filter Popup

    - expand or collapse a row or column field to show or hide detail

    Why does it postback???  When I expand a row to show detail, and then collapse it, there is no reason to post back.  I'm not even rebinding on postback.  Why doesn't the control just use javascript to hide the detail.

    The same with the filter popup... when you click the filter icon, why not just display a div that you could have put in the page when the control was initially bound?  Why do a postback to then just display the filters in a popup?

    Am I missing something or doing something wrong?  Most of you other controls (hierarchical grid or grid with grouping​), they are able to hide / show children or grouped rows on the client.  Why doesn't the pivot grid?



  2. Brent Hetland
    Brent Hetland avatar
    61 posts
    Member since:
    Aug 2009

    Posted 27 Aug 2015 Link to this post

    You can disregard this.  I realize that this is a server side control which has to do stuff both with the layout / structure of the pivot grid as well as with the aggregation...  I have also seen the Kendo UI Pivot Grid, which I assume doesn't do fully postbacks.


    This can be closed.

  3. DevCraft R3 2016 release webinar banner
  4. Eyup
    Eyup avatar
    2942 posts

    Posted 01 Sep 2015 Link to this post

    Hi Brent,

    Yes, your assumptions are correct. However, you can also greatly improve this performance by using AJAX on your page:

    You can check various demos for its practical implementation:

    Hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top