Coming from years of Winforms back to web - OMG the pain!!!
Can someone simply tell me if this WHDGrid supports binding to an IBindingList of non-hierarchical items?
I tried the other WebDataGrid but it doesn't have row and column grouping features i need. Its been probably 7 or 8 years since I built anything asp.net based and am stunned at how limited this world remains (I'm real frustrated with this and deadlines are tight as hell so forgive me that small dig).
Thanks for responding David. I am indeed having difficulty. I can set the WHDG up in the designer ok but when I run the code no data appears. I have a WDG on the same page that works (when the IDE isn't crashing out - I don't think those grids like being together!).
Am I missing something? I am forced to create some DataRelations otherwise I get:
Datasource field with name 'Parent' cannot be found.....etc....
So I create a self-referencing relationship. But at run-time nothing is bound.
Hi jh72i,
The WebHierarchicalDataGrid can bind to any hierarchical data source, including IEnumerable, which IBindingList extends. So I think you should be find binding to this type of source. You will just have one level of data. Let me know if you have difficulty.
regards,David Young