Add support for JSONP

Thread is closed for posting
3 posts, 0 answers
  1. Simon
    Simon avatar
    163 posts
    Member since:
    Sep 2010

    Posted 22 Jan 2012 Link to this post

    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,

  2. Serge
    Serge avatar
    375 posts

    Posted 25 Jan 2012 Link to this post


     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. 

    the Telerik team

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

  3. Simon
    Simon avatar
    163 posts
    Member since:
    Sep 2010

    Posted 26 Jan 2012 Link to this post

    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,

Back to Top