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

Grid Performance when HierarchyLoadMode="Client" and HierarchyDefaultExpanded="true"

1 Answer 97 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kalyan
Top achievements
Rank 1
Kalyan asked on 18 Jul 2011, 03:03 PM
Hi,

We are facing a performance issue (5 - 6 sec load time) with a Grid when we set HierarchyLoadMode="Client" and HierarchyDefaultExpanded="true". Can you please suggest ways to improve the performance ?

Regards,
Kalyan

1 Answer, 1 is accepted

Sort by
0
Genti
Telerik team
answered on 20 Jul 2011, 11:02 AM
Hi Kalyan,

Thank you for contacting us.

 The problem that you are facing is normal if you consider the number of hierarchy levels that you might have.
Nevertheless you can tweak the HierarchyLoadMode for each of the GridTableViews that you have.
For tables that are not so visited you can specify their load modes to HierarchyLoadMode="ServerBind" or
even HierarchyLoadMode="ServerOnDemand"--this one generates less ViewState and makes a trip to the server to find the items nested TableView.
On the other hand, if you set HierarchyLoadMode="Client" is going to download all the detail tables since the first load. That is why you experience some delay in the initial load, but afterwards the expanding the rows would require no round trips to the server.

Hope this helps.

Regards,
Genti
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Kalyan
Top achievements
Rank 1
Answers by
Genti
Telerik team
Share this question
or