Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
510
Load on Demand and InitializeRow
posted

We have a grid we have bound to an UltraDataSource and set the Load Style on the grid to LoadOnDemand. Our Datasource is set up to have the following structure:

17 Rows at the root

500 child rows for each root level roow

When the grid loads up we notice that the InitializeRow event on the grid is fired for all 500 rows for each parent row. The grid is never told to expand all can you help us understand why all 500 rows for each root level row is initialized given the following:

1. Rows are collapsed so i can only see the 17 parent rows

2. Its a load on demand grid and can only see about 50 rows at any one time.

Any help is appreciated.