This is a migrated thread and some comments may be shown as answers.

bind to xml with different nodes

1 Answer 66 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
TMatt
Top achievements
Rank 2
TMatt asked on 02 Jul 2012, 07:52 PM
Hi,


any tiphow bind an xml like this

< ?xml version="1.0" encoding="utf-8"?>
 < PreflightReport Date="2012-05-01 20:54:15">
 <PreflightProfile>
 <FileSpec URL="" UserName=""/>
 </PreflightProfile>
 <RunList>
 <FileSpec URL="" UserName=""/>
 <PreflightAnalysis LayeredReport="" SendURL="" Date="2012-05-01 20:54:15" PageCount="1" FilePath="" Title="Altona_Visual_1v2a_x3.pdf" Creator="ECI 2003 " Producer="PuzzleFlow" CreationDate="2003-09-05 03:53:25" ModDate="2012-05-01 20:54:15" PDFVersion="1.3">
 <DocumentResultsPool Property="Dokument"/>
 <ColorsResultsPool Property="Farben">
 <PreflightDetail Status="Error" ID="74" Property="Verwendet 1 Sonderfarben (Max. erlaubt 0)" Param="0" Result="1"/>
 <PreflightDetail Status="Error" ID="77" Property="RGB Farbe in Bildern " PageRefs="1" Result="True"/>
 </ColorsResultsPool>
 <FontsResultsPool Property="Schriften"/>
 <ImagesResultsPool Property="Bilder">
 <PreflightDetail Status="OK" ID="44" Property="Minimale Auflösung 1-bit Bildern: nicht verfügbar" Param="200dpi"/>
 </ImagesResultsPool>
 <PagesResultsPool Property="Seiten"/>
 <TextResultsPool Property="Text"/>
 </PreflightAnalysis>
 </RunList>
 < /PreflightReport>

to a rad gridv view. I found a sample with simple structure. But i have no idea to bind xml like this.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 03 Jul 2012, 05:16 AM
Hello,

 You could follow this help article on how you could parse an Xml and then populate the GridView with the parsed data. In your case the parsing method should be based on the structure that you would like to have in the GridView. 

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
TMatt
Top achievements
Rank 2
Answers by
Dimitrina
Telerik team
Share this question
or