View Full Version : How to send parameters from ExtJS to JSON ASP.NET webservice?

Jul 14, 2008, 4:25 PM
I have seen the example of the Coolite grid connecting to a webservice returning XML data. Do you have an example of it working with a webservice that returns data in JSON format? Since version 0.6 is not available, I am going to try and create a working grid example using pure ExtJS and ASP.NET webservice. I am sure this is something you guys have to implement for Coolite. I would appreciate it if you can point me in the right direction. I already got the example working if the webservice doesn't have parameters. But it seems that if the webservice contains parameters, Ext.data.HttpProxy is sending the parameters in the wrong format. It is sending 'param1=param1value' instead of 'param1:param1value'.

Jul 14, 2008, 7:07 PM
I figured it out. I had to set jsonData instead of params. Now I am trying to battle formpanel submit. I can only imagine the trouble you guys are running into with making ExtJS play nicely with ASP.NET.