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

LoadOnDemand for NestedViewTemplate

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christian Pardun
Top achievements
Rank 1
Christian Pardun asked on 22 Oct 2015, 04:28 PM

Hi community,

I am facing the following challenge:

I want to view some table data with nested details and different structure, but the details should be load on demand to reduce load to the database.

I tried using the NestedViewTemplate which unfortunately shows the same behavior regardless of the "HierarchyLoadMode" or the "GroupLoadMode".

All of the data queries are fired at once during initial load/databind.

I also tried it with the example from http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/hierarchy-with-templates/defaultcs.aspx which shows the same behavior.

 

Isn't there an option to load data for the NestedViewTemplate on demand? What am I doing wrong?

 

Best regards,

 

Tobias

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 27 Oct 2015, 11:22 AM
Hi Tobias,

You can examine the sample RadGrid web site provided in the following post to achieve this requirement:
http://www.telerik.com/forums/how-to-access-datalist-from-inside-a-nestedviewtemplate#Yp9xRNIG3Um-oPcB1t666A

Hope this helps.

Regards,
Eyup
Telerik
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
Tags
Grid
Asked by
Christian Pardun
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or