Hi everyone,
This is my first time that I work with the WHDG. So I would like to bind my WHDG to xml.
I realize the first step "Loading the "title" tag in the table, but when I click into the arrow to display the sub items, an error will appear saying:
Hi heni86_2003,
As far as I can see you are setting your Category data as the DataField for your grid. The DataField is like a primary key so the values for all entries need to be unique. I would suggest that you use the Key entries from your Xml for DataKey purposes.
You may wish to consider using a XmlDataSource. The following guide might be helpful:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebHierarchicalDataGrid_Binding_to_Xml_Data_Source.html
Additional examples for using the WebHierarchicalDataGrid can be found in the samples collection:
http://samples.infragistics.com/aspnet/ComponentOverview.aspx?cn=hierarchical-data-grid
Please contact me if you need further assistance.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support