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

Client-side binding to plain XML

3 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christopher
Top achievements
Rank 1
Christopher asked on 08 Jul 2010, 04:26 PM
I'm looking at using the client side binding feature in rad grid.  I know that it supports JSON, but I was wondering if it supports plain XML binding?  I currently have a bunch of web services (not WCF or ADO.NET Data services) that return either XML nodes, or Datasets as xml.  Is it possible to bind on the client side directly to these data types, or will I have to convert them to JSON in order for the binding to work?

3 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 09 Jul 2010, 04:38 PM
Hello Christopher,

RadGrid expects JSON to bind on client side. Of course you can implement manual client-side binding and parse the XML returned from the service on client-side and build valid collection of object and populate RadGrid.

Best wishes,
Nikolay
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
Christopher
Top achievements
Rank 1
answered on 09 Jul 2010, 07:46 PM
I suspected that would be the case.  Is it possible to assign columns and the master table layout programatically on the client side, or do I have to define all those programatically/declaratively on the server side, and just do the data binding on the client?
0
Nikolay Rusev
Telerik team
answered on 13 Jul 2010, 11:33 AM
Hello Christopher,

RadGrid structure must be declared on server prior the client-side binding. You cannot define columns at runtime.

Greetings,
Nikolay
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
Grid
Asked by
Christopher
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Christopher
Top achievements
Rank 1
Share this question
or