My Situation:
I have a table that has many attributes. One attribute is an xml string. The xml string can any type of objects that were created out of an application.
For example the table might look like this
TItle -String
Guid - Guid
Data - XML (when serializing this in the app it can be 1 of 30 -> 40 different objects)
My goal is to be able to do a data dump of the data in the table for the basic user. For example TItle, Guid, and the XML broken down.
As of right now, I can get the object to for the entire table or I can get the object for the xml and display either or on the grid. Keep in mind the xml can have any number of elements in it. One might 5 element the next could 15.
My questions:
1) Does anyone know of an easy way to do this?
2) WebData grids needs to have the object flatten, right? Because I tried to bind a complex object and it wasn't working.
3) Could I bind an xml string to webdatagrid?
This wouldn't be this bad if I didn't have one XML string that is horribly complex. Meaning that the original object has multiple lists in it.
Hello Abby,
Thank you for contacting Infragistics!
I have done some looking into this matter and have the following information. If you want to bind to XML I recommend you use the WebHierarchicalDataGrid. You can see how to achieve this with the following documentation:
http://help.infragistics.com/doc/ASPNET/2015.1/CLR4.0/?page=WebHierarchicalDataGrid_Binding_to_Xml_Data_Source.html
Please let me know if you have any further questions concerning this matter.