This is a migrated thread and some comments may be shown as answers.

Loading image while export to excel radgrid data

2 Answers 230 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Moksha
Top achievements
Rank 1
Moksha asked on 05 Jul 2011, 01:37 PM
Hi i am using Terik.web.ui.dll


on the exporttoexcel option i want to dispaly loading image .

could you please help me.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Jul 2011, 02:00 PM
Hello Moksha,

Check the following help documentation which explains how to show a loading panel explicitly. Hope htis helps.
Show and hide RadAjaxLoadingPanel explicitly.

Thanks,
Princy.
0
Vibhor
Top achievements
Rank 1
answered on 02 Sep 2011, 10:49 AM
Hi,

I am also into the same issue...I applied the explicit style of loading the "Loading Icon" but  OnResponseEnd is not being called after successfull save.

Loading icon remain on the screen
<ClientEvents OnRequestStart="onRequestStart" OnResponseEnd="onResponseEnd" />
  
function onRequestStart(sender, args) {
           currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
            currentUpdatedControl = "<%= pnlSearch.ClientID %>";
            //show the loading panel over the updated control
            currentLoadingPanel.show(currentUpdatedControl);
  
            if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0)
            {
                args.set_enableAjax(false);
            }
        }
  
function onResponseEnd(sender, args) {
            //hide the loading panel and clean up the global variables
            if (currentLoadingPanel != null)
                currentLoadingPanel.hide(currentUpdatedControl);
            currentUpdatedControl = null;
            currentLoadingPanel = null;
 }

Please suggest

Thanks in Advance
Tags
Grid
Asked by
Moksha
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Vibhor
Top achievements
Rank 1
Share this question
or