Trying to implement behaviours on the childgrid and I get the following exception:
Async request failed
[HttpException]: Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.
WebHierarchicalDataGrid.DataSource = UnfilteredDataSet;
WebHierarchicalDataGrid.Rows.Clear();
WebHierarchicalDataGrid.DataBind();
Any idea why this is happening?
Hi dev_here,
Could you provide some more information about this issue - are you implementing these behaviors in the markup or code-behind? A sample code would be helpful. Also, when does this exception occurs? Any additional information which you think is related could be of help. Thanks.
Hello dev_here,
If you still need assistance with the matter, please let me know.