In this example we will use what we learned to build a “MSAjaxProxy” – just like a normal AjaxProxy, except geared towards IIS 6+ running MS AJAX Extensions 1.0. Proxies are used by all ExtJS stores (combos, grids, trees, etc.), so we would be able to do something like this:
{ xtype: 'combo' , displayField: 'attrName' , valueField: 'attrID' , store: { fields: ['attrID','attrName'] , proxy: Ext.create('MyOrg.proxy.MSAjaxProxy', { url: 'Default-UMRA.aspx/Test' , reader: { type: 'json' } }) // eo proxy } // eo store } |