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
1740
Multiple controls with the same ID '400_0' were found. FindControl requires that controls have unique IDs.
posted

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

Parents
  • 6748
    Verified Answer
    posted

    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

Reply Children
No Data