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

[Solved] HierarchyLoadMode="ServerOnDemand" is working good except the first time expanding of any of the detailTables

1 Answer 129 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mladen
Top achievements
Rank 1
Mladen asked on 22 Sep 2009, 03:54 PM
Although this property is set to HierarchyLoadMode="ServerOnDemand" it behaves like some mixed mode. 
Actually, everything is work just as should be work by documentation, but when I expand for the first time any of child levels, grid tries to Bind all the child tables.
I have considered this in SqlProfiler, when you expand some level but only for the very first time, you can see database calls for every parent row.

If it can help you in answering my problem I have used SessionDataSource.     

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Sep 2009, 11:01 AM
Hi Mladen,

You can refer to the relevant online demo of the product which used SessionDataSource and HierarchyLoadMode="ServerOnDemand". Please test it on your machine to see the result:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/tooltipgrid/defaultcs.aspx?product=grid

Greetings,
Pavlina
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
Grid
Asked by
Mladen
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or