I did try and am able to use the json.net class for it. The
HttpHandler is returning json data now. Thanks.
Now I was trying to get 10 items from the json file. My url in
$.getJSON looks like:
$.getJSON("myjsonfile.json?count=10", {}, function(data) {
$.each(data, function(i, item) {
Want to make life MUCH easier than all those IE-specific hacks?
Check out Json.NET
http://james.newtonking.com/pages/json-net.aspx
On Dec 28, 1:15 am, JQueryProgrammer wrote:
> I got the solution to this. Actually this code was working in Firefox
> and not in IE. When I tried to run in IE,
I got the solution to this. Actually this code was working in Firefox
and not in IE. When I tried to run in IE, it was giving error 12030
(Server unexpectedly terminated connection) from IE's XMLHttpRequest
object. The solution:
In my HttpHandler I included the code:
System.IO.Stream st = contex
3 matches
Mail list logo