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

RadGrid Client Binding with WCF Service

1 Answer 203 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Venu
Top achievements
Rank 1
Venu asked on 09 Mar 2011, 11:49 PM
Hi:

I am just trying to bind radgird from client side with WCF service, I found one example online it is not working.
The senario is i need to pass 3 to 4 parameters to the service to get the result from the service and bind to grid.
if any example that can give an idea will help. I am totally new to WCF.

Thanks
Vasu

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 15 Mar 2011, 12:56 PM
Hi Venu,

The fixed number of parameters is valid only when you are implementing declarative client-side binding. If you use programmatic binding, you can pass as many parameters as you need and use them as per your requirement. The important thing is that you end up passing a valid JSON object to the grid control that it can bind to.

For an example of programmatic client-side binding to a WCF service of RadGrid, you can take a look at the following blog post:
How To: Telerik RadGrid for ASP.NET AJAX client-side data-binding to WCF

Kind regards,
Tsvetina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
Venu
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or