to show....
Expand|Select|Wrap|Line Numbers
- Sys.Application.add_init(function() {
- $addHandler($get('ctl00_ContentPlaceHolder1_LinkButtonQuickReport'), 'click', function() {
- $('#working').show();
- });
- });
Expand|Select|Wrap|Line Numbers
- var prm = Sys.WebForms.PageRequestManager.getInstance();
- prm.add_endRequest(function() {
- $('#working').hide();
- });
the function zips the results to a file and then uses response.transmitefile to start the download. the problem is that the endrequest is never kicked off because of the download, so i am left with the loading message still displayed on the screen. a refresh takes care of it but then all the options set on the page go back to default plus that is just annoying :-).
how do i remove the working div when the user gets an automatic download?
is there a better way to display a working msg than this? i was using updateprogress with updatepanel around the gridview but the response.transmitefile doesnt work.
any help is greatly appreciated