PDA

View Full Version : about store timeout?



icedtiger
6 May 2010, 12:01 AM
I have tried
Ext.Ajax.timeout=90000;


var Store = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: 'MyProducts.aspx',
timeout: 90000,
listeners:
{
beforeload: function(store, options) {
options.timeout = 90000;
}
}
}),
autoLoad: false,
reader: new Ext.data.XmlReader({
record: 'item',
id: 'id',
totalRecords: 'CountTotal'
}, Record),
listeners:
{
beforeload: function(store, options) {
options.timeout = 90000;
}
remoteSort: true
});

none of them contribute.
is there any suggestions?

icedtiger
6 May 2010, 10:49 PM
when i tried it ina new project,it works!
wuwuwu

inane
5 Nov 2014, 12:44 PM
What was your solution??


Thanks.