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

Bind XML Data in GridView

5 Answers 126 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.
Anwar Arakkal
Top achievements
Rank 1
Anwar Arakkal asked on 08 Dec 2009, 03:15 AM
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

5 Answers, 1 is accepted

Sort by
0
Gopal
Top achievements
Rank 1
answered on 08 Dec 2009, 04:11 AM
0
Anwar Arakkal
Top achievements
Rank 1
answered on 08 Dec 2009, 04:41 AM

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

0
Gopal
Top achievements
Rank 1
answered on 08 Dec 2009, 05:19 AM
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 !
0
Rakesh
Top achievements
Rank 1
answered on 23 Mar 2012, 07:11 PM
Anwar,

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

Thanks
0
Kiran
Top achievements
Rank 1
answered on 30 May 2012, 12:20 PM
HI,

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

Thanks 
Tags
GridView
Asked by
Anwar Arakkal
Top achievements
Rank 1
Answers by
Gopal
Top achievements
Rank 1
Anwar Arakkal
Top achievements
Rank 1
Rakesh
Top achievements
Rank 1
Kiran
Top achievements
Rank 1
Share this question
or