I'm using a NestedViewTemplate within the RadGrid in order to display a customized detail view of a row when the expand button is clicked. The NestedViewTemplate contains another RadGrid and several other controls.
Everything is working fine, but I noticed that every row's NestedViewTemplate (and its child controls) seems to get data bound every time the page is loaded or the parent grid's columns are sorted, etc. That seems to be unnecessarily slowing down the performance of the main RadGrid.
Is there a way to delay the data bind of controls within in the NestedViewTemplate (or the template itself) until the template is actually expanded and visible?
Thanks in advance for your help.
Everything is working fine, but I noticed that every row's NestedViewTemplate (and its child controls) seems to get data bound every time the page is loaded or the parent grid's columns are sorted, etc. That seems to be unnecessarily slowing down the performance of the main RadGrid.
Is there a way to delay the data bind of controls within in the NestedViewTemplate (or the template itself) until the template is actually expanded and visible?
Thanks in advance for your help.
