bind to xml with different nodes

2 posts, 0 answers
  1. TMatt
    TMatt avatar
    46 posts
    Member since:
    Feb 2011

    Posted 02 Jul 2012 Link to this post

    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
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 03 Jul 2012 Link to this post

    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 >>

Back to Top