Sreedhar,

Here's a very simple PHP example:

http://remysharp.com/2007/10/08/what-is-jsonp/

To port to .NET (C#), you can send your AJAX call to an .aspx page, or
more appropriately an .ashx handler which sends a plain text response:

context.Response.Write(Request.QueryString["jsonp_callback"] +
"({ [any output goes here in JSON format })");

Hope this helps.


On May 14, 3:02 pm, AmbatiSreedhar <[EMAIL PROTECTED]> wrote:
> Hi
>
> Can anyone supply me a sample Jsonp example in .net?
>
> Thanks
> Sreedhar Ambati

Reply via email to