Jun 05, 2012, 9:01 PM
[CLOSED] Returning XML from an AJAX call to a store
I was looking at this grid example:
https://examples2.ext.net/#/GridPanel/Commands/Image_Command/
I've got everything working, but when I return the same XML, like in this example, it doesn't work. Using MVC, how should I be returning this XML. I copied the XML from the response in the XHR call in the example.
https://examples2.ext.net/Examples/G...=1338905203998
I see that StoreResult and AjaxResult just convert to JSON. I tried returning as a string, but that didn't work either.
I'm really just asking if there is an Ext.net 2.0 way to do it. I know I can find a class like below. I'm just wondering if there is a better way.
http://stackoverflow.com/questions/1...in-asp-net-mvc
https://examples2.ext.net/#/GridPanel/Commands/Image_Command/
I've got everything working, but when I return the same XML, like in this example, it doesn't work. Using MVC, how should I be returning this XML. I copied the XML from the response in the XHR call in the example.
https://examples2.ext.net/Examples/G...=1338905203998
I see that StoreResult and AjaxResult just convert to JSON. I tried returning as a string, but that didn't work either.
I'm really just asking if there is an Ext.net 2.0 way to do it. I know I can find a class like below. I'm just wondering if there is a better way.
http://stackoverflow.com/questions/1...in-asp-net-mvc
Last edited by Daniil; Jun 06, 2012 at 4:40 PM.
Reason: [CLOSED]