Forum



23:11

06/11/2008

I'm sure I'm not using quite the terminology but I'll try to explain.
I'm using this JSON class for ASP classic.
http://www.webdevbros.net/2007.....038;hellip;..datatypes/
I can not get it to return my JSON without an initial label.
It returns
{"mandatorylabel": {"page": 1,"total": 1,"records": 6,"rows": [{"firstname": "Chris"},{"firstname": "Dave"}]}}
But I cannot find any settings to get jqGrid to understand it. It does work with this though.
{"page": 1,"total": 1,"records": 6,"rows": [{"firstname": "Chris"},{"firstname": "Dave"}]}
I can provide an empty string and indicate it's already enclosed to my ASP class giving me this
"": {"page": 1,"total": 1,"records": 6,"rows": [{"firstname": "Chris"},{"firstname": "Dave"}]}
But still no go with jqGrid.
Is there a jsonReader option I'm missing or should I be looking at issues with the ASP class?
Both results seem to be perfectly valid JSON responses.
Any help is greatly appreciated
Most Users Ever Online: 715
Currently Online:
59 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66