Bind XML Data in GridView

6 posts, 0 answers
  1. Anwar Arakkal
    Anwar Arakkal avatar
    21 posts
    Member since:
    Nov 2007

    Posted 07 Dec 2009 Link to this post

    Hi,

    Can you please provide a solution to bind XML data in Rad GridView?
    I have got XML data through WCF Service as shown below.

    StringReader stream = new StringReader(e.Result);
    XmlReader reader = XmlReader.Create(stream);
    XDocument xdoc = XDocument.Load(reader);

    How to bind this data? Note that the columns are dynamic.It can change depends upon the WCF call. So I need a generic solutoin for that.

    Thanks,
    Anwar
  2. Gopal
    Gopal avatar
    20 posts
    Member since:
    Mar 2009

    Posted 07 Dec 2009 Link to this post

  3. Anwar Arakkal
    Anwar Arakkal avatar
    21 posts
    Member since:
    Nov 2007

    Posted 07 Dec 2009 Link to this post

    Hi Gopal,

    The columns to be displayed are dynamic. So I cannot create a class called "XmlNodeItem".

    I want to make a dynamic class because my silverlight control will be very generic which should handle any kind of XML data

    Thanks,
    Anwar

  4. Gopal
    Gopal avatar
    20 posts
    Member since:
    Mar 2009

    Posted 07 Dec 2009 Link to this post

    HI Anwar,
     Well i am to new in radcontrols. Initially i am too facing a problem i want to get the data from the database (mssql 2005/2008) via wcf in radgridview. and the documentation of the radcontrols are not so clear.Am confuse how to start with. Do you have any idea !
  5. Rakesh
    Rakesh avatar
    42 posts
    Member since:
    Jun 2010

    Posted 23 Mar 2012 Link to this post

    Anwar,

    I am having the same issue. Did you find the solution for this? If so, can you please share?

    Thanks
  6. Kiran
    Kiran avatar
    4 posts
    Member since:
    Aug 2011

    Posted 30 May 2012 Link to this post

    HI,

    I am having the same issue. Did you find the solution for this? If so, can you please share?

    Thanks 
Back to Top