Is there an example of binding the WebHierarchicalDataGrid to a Dataset at runtime?
The dataset would contain multiple tables with relations.
Thanks for any help.
Hi,
i am getting the same problem "Runtime Exception: No child grid script descriptors are available!",
how did you solve it, i am also rebinding the grid, but the problem remain same.
can you help me how did you solve the above issue?
Thanks in advance.
Charles,
I ended up going back to the UltraWebGrid, as the WDHG did not lend itself to the amount of customization I required. Unfortunately, I no longer have the WDHG code, as it was an experiment on my part.
But...try clearing the the WDHG (table, columns, rows) before rebinding.
Lile
Iwoodell,
I'm using a WHDG and a WebHierchicalDataSource. The two DataViews are pointed to two datatables.
Sometimes on a postback, I want to refresh the WHDG. I refresh the two datatables, but when I try to rebind the WHDG, I either get a "Dataview does not have a DataSourceId" error or my grid is empty.
Could you share your code for rebinding the WHDG to fresh data on a postback?
Thx,
Charles
Alex,
I was able to determine the cause of the error was the format of a date column in the child band. After changing the format to 'mm/dd/yyyy' the issue cleared up.
Thanks
Can you post your code for generating your DataSet here? Thanks.