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

Add support for JSONP

2 Answers 53 Views
Feature Requests
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Simon
Top achievements
Rank 1
Simon asked on 22 Jan 2012, 06:12 PM
As mentioned in this Kendo UI blog post, the JSONP support is missing from ADO .NET service...

There's also a link to this
MSDN example on how to implement the JSONP behavior but the author of the example added the following note:

NOTE about this example
This is just an example. It's just quickly tested, without covering all scenarios. Also, a number of simplifications in the example may need to be addressed if this is used in real applications. For example, the response re-write code assumes that the output encoding is UTF-8 (the default), but the client and server might have negotiated a different character encoding.

So as Kendo UI and Open Access are 2 Telerik products that has a great potential when used together, I think it would be great if Open Access was able to generate the JSONP support required by Kendo UI out of the box.


Best regards,

Simon

2 Answers, 1 is accepted

Sort by
0
Serge
Telerik team
answered on 25 Jan 2012, 05:36 PM
Hi,

 We will certainly consider implementing support for JSONP in our data services implementation. It is just that it will use the same approach used by the example you provided. And it cannot be part of our OpenAccessDataService<T> provider, so the only solution would really be to be generated by the WCF Data Services wizard or the new "Generate OpenAccess Domain Service..." wizard. Either way we will immediately put some effort into documenting this in a better way.

I would like to thank you for taking the time to request this feature, your input is in fact very valuable. 

Regards,
Serge
the Telerik team

SP1 for Q3’11 of Telerik OpenAccess ORM is available for download

0
Simon
Top achievements
Rank 1
answered on 26 Jan 2012, 11:09 PM
Hi Serge,

The WCF Data Services wizard is exactly what I had in mind!

I already implemented the JSONP support for my project but I think this feature might still be usefull for futher projects (and other programmers as well).

Best regards,

Simon
Tags
Feature Requests
Asked by
Simon
Top achievements
Rank 1
Answers by
Serge
Telerik team
Simon
Top achievements
Rank 1
Share this question
or