Sep 20, 2010, 11:22 PM
[CLOSED] Exporting Data using Refresh event
Hi,
I implemented the exporting functionality following the examples given using the Submit event.
However, I noticed the entire Data Store is sent from the client to the server which I don't find very useful and spends a lot of time (my grids have a lot of data) before hitting the server because I have the data already on the server cached.
Therefore, in order to bypass all this data sending to the server, I decided to use the Refresh method instead. It quickly hits the server where I retrieve my cached data and generate my export.
However, I have a problem where the Store's Load listener is not being triggered on the client once the export is received. It gets stuck and can only get unstuck manually by clicking next page or something like that.
Therefore, my question is: do you think it's a bug or it's just the way I did it is inappropriate? If the latter, then can you suggest a better way other than using Refresh?
Thank you,
Eben
I implemented the exporting functionality following the examples given using the Submit event.
However, I noticed the entire Data Store is sent from the client to the server which I don't find very useful and spends a lot of time (my grids have a lot of data) before hitting the server because I have the data already on the server cached.
Therefore, in order to bypass all this data sending to the server, I decided to use the Refresh method instead. It quickly hits the server where I retrieve my cached data and generate my export.
However, I have a problem where the Store's Load listener is not being triggered on the client once the export is received. It gets stuck and can only get unstuck manually by clicking next page or something like that.
Therefore, my question is: do you think it's a bug or it's just the way I did it is inappropriate? If the latter, then can you suggest a better way other than using Refresh?
Thank you,
Eben
Last edited by Daniil; Sep 22, 2010 at 3:23 PM.
Reason: [CLOSED]