Hi there
I have a Hierarchical grid setup and it is working 100%, but now I need to apply filtering on the MasterTable. So I have changed my databinding to use the NeedDataSource event.
The problem is I need to reload the grid based on two external filters (drop downs), so to reload the dataset based on this I set the EnableViewState="false" on the MasterTable, this works fine. Now the problem is that when I do a post back in a child element of the MasterTable it resets as well and I "lose" the focus of the child item I was working on.
Is there a way I can rebind the datasource programmatically when the OnSelectedIndexChanged fires on the drop downs with EnableViewState on the MasterTable Enabled?
I have a Hierarchical grid setup and it is working 100%, but now I need to apply filtering on the MasterTable. So I have changed my databinding to use the NeedDataSource event.
The problem is I need to reload the grid based on two external filters (drop downs), so to reload the dataset based on this I set the EnableViewState="false" on the MasterTable, this works fine. Now the problem is that when I do a post back in a child element of the MasterTable it resets as well and I "lose" the focus of the child item I was working on.
Is there a way I can rebind the datasource programmatically when the OnSelectedIndexChanged fires on the drop downs with EnableViewState on the MasterTable Enabled?