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

OnBiffExporting

1 Answer 173 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 21 Dec 2012, 04:11 PM
When ExportToExcel is called, and OnBiffExporting is triggerred.  But we don't enable ajax on the post back using this ClientEvents-OnRequestStart for the RadAjaxPanel:

function onRequestStart(sender, args)
{
  if (args.get_eventTarget() == "btnExport") {
    args.set_enableAjax(false);
  }
  else {
    document.body.style.cursor = "wait";
  }

  return true;
}

Is there anyway to detect when the file has been generated so we could manually put up a wait state and then turn off the wait state when the file has been presented to the user?

Thanks

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 24 Dec 2012, 11:50 AM
Hello Peter,

You can try the following:
Show waiting image while exporting in RadGrid
Show loading panel when exporting RadGrid

Regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Peter
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or