Is it possible to bind a single DataTable to a WebHierarchicalDataGrid at runtime with AutoGenerateColumns = true?
We try this and, while the DataBind method fires, the grid is empty.
Hi cantrellr,The WebHierarchicalDataGrid requires a hierarchical source, even for one level. So in this case, just add the DataTable to a DataSet and you will be good to go.
regards,David Young
Thanks David,
That is what we are doing. Then I bind that dataset. The DataBound event fires and we test for the number of rows in the grid and get a valid value. But, when returning back to the browser, the grid does not render.