Dec 16, 2012, 12:35 PM
[CLOSED] AjaxResult Compatibility issue with JQ
Hi there,
I proudly built my server-side mvc actions using Ext.net.MVC.AjaxResult (return result).
I thought they should be compatible if I use JQ.ajax() to cope with them.
Now comes the first question:
AjaxResult() returns json formatted with no quote on property names. like "{ success: true }"
Can I do something to intentionally specify AjaxResult to return json string with property name quoted, like "{ "success":true }" ?
I proudly built my server-side mvc actions using Ext.net.MVC.AjaxResult (return result).
I thought they should be compatible if I use JQ.ajax() to cope with them.
Now comes the first question:
AjaxResult() returns json formatted with no quote on property names. like "{ success: true }"
Can I do something to intentionally specify AjaxResult to return json string with property name quoted, like "{ "success":true }" ?
Last edited by Daniil; Dec 18, 2012 at 7:43 AM.
Reason: [CLOSED]