PDA

View Full Version : Using an Handler file with Ext.data.Store



mkariti
10 Sep 2011, 2:52 AM
Hi there,
Im trying to request an XML string via an Handler file using the following proxy:


var store = new Ext.data.Store({
model: 'Sun',
proxy: {
type: 'ajax',
url: 'SomethingSomething.ashx',
reader: {
type: 'xml',
record: 'sun'
},
autoLoad: true
}

Now it seems like I cant get it right.
Is it possible that this proxy will only get an XML file to read from?
Can I use such an handler with it?
Many thanks
mkariti