I am using a hierarchical radgrid and have performance issues.
The grid is 3 levels deep
level 1: 11 columns
level 2: 12 columns. Nested into a detailTables
level 3 13 columns. Nested into a panel inside NestedViewTemplate
Because of the performance issue, I did the following:
- Set the HierarchyLoadMode is set to ServerOnDemand.
- Bind server side and if the pageSize is 25, I only take 25 items from the database (I manage the paging myself).
- Removed filters and sorting from level 2 and 3
Each level has custom paging
During my tests, I realized that when binding the 1st level, the header and footer of each child grids were correctly loaded on demand.
However, when expanding the second level, the header and footer of all 3rd level child grids were initialized at the same time.
The 3 level is inside an invisible panel.
The panel is set to visible only when it is expanded.
The data of the third level is loaded on demand as expected, but the header and footer is initialized as soon as its parent is expanded.
Is there a way to prevent that ? I tought the invisible panel was enough to prevent the grid initialization.
Do you have any other suggestion to resolve the performance issue ?
Note: the problem is not visible on IE9, but is always present on IE7.
Thanks
The grid is 3 levels deep
level 1: 11 columns
level 2: 12 columns. Nested into a detailTables
level 3 13 columns. Nested into a panel inside NestedViewTemplate
Because of the performance issue, I did the following:
- Set the HierarchyLoadMode is set to ServerOnDemand.
- Bind server side and if the pageSize is 25, I only take 25 items from the database (I manage the paging myself).
- Removed filters and sorting from level 2 and 3
Each level has custom paging
During my tests, I realized that when binding the 1st level, the header and footer of each child grids were correctly loaded on demand.
However, when expanding the second level, the header and footer of all 3rd level child grids were initialized at the same time.
The 3 level is inside an invisible panel.
The panel is set to visible only when it is expanded.
The data of the third level is loaded on demand as expected, but the header and footer is initialized as soon as its parent is expanded.
Is there a way to prevent that ? I tought the invisible panel was enough to prevent the grid initialization.
Do you have any other suggestion to resolve the performance issue ?
Note: the problem is not visible on IE9, but is always present on IE7.
Thanks