We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Export to excel vs loading dialog

Hi Aspose Team!

When I export to excel, the "Loading, please wait" dialog do not disapear.
Even, after I suceesfully download the file.

What should I do to give back control to the grid, so that the dialog disapear?
Here is my code :

System.IO.MemoryStream ms = new System.IO.MemoryStream();
grid.WebWorksheets.SaveToExcelFile(ms);

Response.ClearHeaders();
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("content-disposition", "attachment; filename=grid.xls");
Response.OutputStream.Write(ms.GetBuffer(), 0, (int)ms.Length);
Response.End();

Hi,

Thanks for consideirng Aspose.

Please set ShowLoading property of the GridWeb control to false. You may set this property of the control at design time (from properties window in vs.net).

Thank you.