I have a grid in a ajaxpanel that I need to export from. I followed the advise of the following URL:
http://www.telerik.com/community/code-library/aspnet-ajax/general/export-radgrid-content-to-excel-word-csv-pdf-with-ajax-enabled.aspx
The ajaxpanel has a loadingpanel with a custom skin (to change the animated gif). After the first export where set_enableAjax(false) is performed, the loading panel is still displayed for every ajax request but, the animated gif does not animate. (this occurs only after the export runs.
Here is the code on my ajaxpanel request started event:
http://www.telerik.com/community/code-library/aspnet-ajax/general/export-radgrid-content-to-excel-word-csv-pdf-with-ajax-enabled.aspx
The ajaxpanel has a loadingpanel with a custom skin (to change the animated gif). After the first export where set_enableAjax(false) is performed, the loading panel is still displayed for every ajax request but, the animated gif does not animate. (this occurs only after the export runs.
Here is the code on my ajaxpanel request started event:
function
requestStarted(ajaxManager, eventArgs) {
if (eventArgs.get_eventTarget().indexOf("btnExcel") > -1 ||
eventArgs.get_eventTarget().indexOf(
"btnPDF") > -1)
eventArgs.set_enableAjax(
false);
}
Any thoughts on how I can get the animated gif to move again?
Thanks in advance,
- Adam