PDA

View Full Version : [CLOSED] Excel Downloading Not working



shaileshsakaria
Apr 06, 2013, 3:13 PM
Hi,

I have written code for excel download. After excel downloaded , the wait message is remains in screen and no error messge is coming , so after that I must have to refresh page again. Please give solution so that after excel download to client side, wait message should disapper.

Thanks
Shailesh

jchau
Apr 06, 2013, 4:30 PM
http://examples2.ext.net/Examples/GridPanel/Miscellaneous/Export_Data_Ajax/

Have you looked at that example?

shaileshsakaria
Apr 06, 2013, 4:46 PM
Hi,

Yes I have seen that example.

just add following line in that example then check



<ext:ResourceManager ID="ResourceManager1" runat="server" >
<Listeners>
<BeforeAjaxRequest Handler="Ext.net.Mask.show({ msg : 'Processing... Please Wait' });" />
<AjaxRequestComplete Handler="Ext.net.Mask.hide();" />
</Listeners>
</ext:ResourceManager>



Thanks
Shailesh

Vladimir
Apr 06, 2013, 5:56 PM
If direct event should return a file then mask cannot be used because a browser doesn't fire any event (we cannot fire success callback where mask can be hidden)