I am getting this weird error everytime I rebind the WebHierarchicalDataGrid. The error does not appear when I bind the grid for the 1st time.
Multiple controls with the same ID '400_0' were found. FindControl requires that controls have unique IDs.
The WebHierarchicalDataGrid is placed on a user control that is loaded dynamically.
Thanks
Hello Ram,
You should call ClearDataSource for the WebHierarchicalDataGrid before assigning its new datasource inside the method BindGrid2:
this.WebHierarchicalDataGrid1.GridView.ClearDataSource();
this.WebHierarchicalDataGrid1.DataSource = countryCustomersDataSet;
Hope this helps.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Adding this line seem to solve the problem for now.
Thanks!