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

HELP!! ASP.NET Ajax, passing WCF list<object to JSON or Javascript, need help!

2 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 1
Brett asked on 08 Oct 2012, 10:52 PM
Help, I am struggling trying to pass a list object from a WCF project to an array on a .aspx file.  I need to be able to send a table or array of data using JSONP or JSON and I am unsuccessful in doing so with a list object.  I was able to successfully send one record of information easily, but sending a list of more then one is proving to be a hard time.  Please tell me how I can do this.  Thanks!

2 Answers, 1 is accepted

Sort by
0
Brett
Top achievements
Rank 1
answered on 09 Oct 2012, 04:24 AM
Shall I display code or is this something that is not supported?  I was trying to use one of the data controls to do this in kendo ui.
0
Slav
Telerik team
answered on 11 Oct 2012, 03:12 PM
Hi Brett,

You should be able to consume the WCF service by referencing it in your web site and using the proxy class that exposes the methods of the service. The information in this article will be useful for implementing the desired functionality.

Kind regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Brett
Top achievements
Rank 1
Answers by
Brett
Top achievements
Rank 1
Slav
Telerik team
Share this question
or