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
WebHierarchicalDataGrid - Access data source - webhierarchicaldatasource and SqlDataSource


I use version 17.2.

I have a misunderstanding about the use of the webhierarchicaldatasource of the webhierarchicaldatagrid.
I use it with 2 SqlDataSource with parameters. (parent and child).

I have the property InitialDataBindDepth="-1", so i'm loading all data in one time.

I don't understand why i have N select on the detail select. I should have ONE select for the parent and ONE for the child, right ?

For example, if I have 5 affected rows after SDSFactureEnt_Selecting (parent), the SDSFactureDet_Selecting method(child) is repeating 5 times. Is that normal ?

it penalizes the performance of the web page. 

Parents Reply Children
No Data