Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > RadControls in ASP.NET MVC > Reading xml Into ajax radgrid

Not answered Reading xml Into ajax radgrid

Feed from this thread
  • Henry avatar

    Posted on Nov 4, 2011 (permalink)

    I am having trouble reading this xml file into Telerik  Ajax RadGrid. The problem is that the xml file is in a weird format that Telerik does not seem to recognize.  Here is an example from the xml file that I want to read into my grid. Does anyone have any suggestions? Thanks
     

    <Attribute>
         <Object>
             <Id>27</Id>
             <Type>212</Type>
        </Object>
       <AttributeDef>
            <Id>38</Id>
      </AttributeDef>
      <RowId>0</RowId>
      <StringValue/>
      <DecimalValue xsi:nil="true"/>
      <DateTimeValue xsi:nil="true"/>
      <LongStringValue/>
      <IsLinked>Y</IsLinked>
      <MayModify>Y</MayModify>
      <ValueDescription/>
    </Attribute>

    Reply

  • Daniel Daniel admin's avatar

    Posted on Nov 9, 2011 (permalink)

    Hello Henry,

    RadGrid only binds to flat XML structures out of the box. If you have more complex (hierarchical) XML, you will have to manually load the XML in DataSet or try the approach demonstrated in our RSS binding demo here:
    RSS binding

    Regards,
    Daniel
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > RadControls in ASP.NET MVC > Reading xml Into ajax radgrid