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

Binding dynamic xml to RadGridView

3 Answers 146 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ra
Top achievements
Rank 1
Ra asked on 21 Apr 2010, 10:07 PM
Hi,

I want to programmatically bind the xml document to RadGridView. I have xmldataprovider and I am programmatically setting the provider.document=xmldocument and the provider is the static resource of the grid.

This is not working.

Please let me know.

Thanks..

3 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 23 Apr 2010, 09:56 AM
Hello Ra,

Here is the link to our online example which illustrates binding with XML Data Provider.

Sincerely yours,
Stefan Dobrev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ra
Top achievements
Rank 1
answered on 23 Apr 2010, 01:48 PM
Hi,

I have seen that example. The problem that I have is I am creating xml document dynamically and not reading from an xml file. So, I have to set xmldataprovider.document property, cannot set source or data property of the xmldataprovider. Please let me know how to assign dynamic xml document to xmldataprovider and bind it to gridview. I was not able to get it to work.

Thanks..
0
Vlad
Telerik team
answered on 26 Apr 2010, 08:02 AM
Hello,

You can check this thread for more info on how to assign Document property dynamically.

Kind regards,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Ra
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Ra
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or