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

How would that be possible to only load the nested table which is required rather than the whole Grid?

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pooya
Top achievements
Rank 1
Pooya asked on 06 Jul 2011, 10:14 PM
I have created a RadGrid control with a detail table programatically on page_init; imagine Country -> Regions

When the "Open" nested table icon is clicked, the whole page is posted back and as a result the Country list is re-populated then the regions associated with the selected country gets loaded.

The problem is that the Country list is already on the page, why everything should be reloaded again since only one country was selected to retrieve its regions.

As a result of this problem, my RadGrid is slow when using its nested tables as it has to reload all other layers each time.

How would that be possible to only load the nested table which is required rather than loading the whole Grid?

Many thanks,

1 Answer, 1 is accepted

Sort by
0
Genti
Telerik team
answered on 11 Jul 2011, 04:29 PM
Hi Pooya,

In such case you can make use of HierarchyLoadModes of each of the detail tables that you have.
For example, You can set HierarchyLoadMode.Client for tables that need fast view and HierarchyLoadMode.ServerBind for tables that are less likely to be accessed.

Hope this helps.

Kind 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
Pooya
Top achievements
Rank 1
Answers by
Genti
Telerik team
Share this question
or