
Brian Dobberteen
Top achievements
Rank 1
Brian Dobberteen
asked on 08 Jun 2010, 05:32 AM
Hi,
I have a RadGrid control that I am exporting to CSV. Everything works great, except I cannot figure out a way to make an AjaxLoadingPanel appear while waiting for the export process to complete. In other words, there is a few seconds delay after hitting 'export' and the file download dialog box appearing - during this delay there is no visual feedback to the user.
Is this even possible?
Thanks!
I have a RadGrid control that I am exporting to CSV. Everything works great, except I cannot figure out a way to make an AjaxLoadingPanel appear while waiting for the export process to complete. In other words, there is a few seconds delay after hitting 'export' and the file download dialog box appearing - during this delay there is no visual feedback to the user.
Is this even possible?
Thanks!
6 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 08 Jun 2010, 06:57 AM
Hello Brian,
One suggestion is to use "RadProgressArea" instead of RadAjaxLoadingPanel as described in following forum.
Display Loading Panel during Export
Please download the sample project attached in the forum thread and see whether it suits for your need.
Regards,
Shinu.
One suggestion is to use "RadProgressArea" instead of RadAjaxLoadingPanel as described in following forum.
Display Loading Panel during Export
Please download the sample project attached in the forum thread and see whether it suits for your need.
Regards,
Shinu.
0

Brian Dobberteen
Top achievements
Rank 1
answered on 08 Jun 2010, 03:25 PM
Wow, I can't believe I missed that thread!
Thank you so much for your assistance!
Thank you so much for your assistance!
0

Brian Dobberteen
Top achievements
Rank 1
answered on 08 Jun 2010, 05:57 PM
Maybe my exuberance was a bit premature... The method suggested works, but not very well...
First, the progress indicator appears when the grid is first databound, prior to any attempts to export the data. It only briefly appears, but I don't want to see it unless I am actually doing an export.
Second, when doing the export, the progress area exhibits inconsistent behavior... it doesn't always display, and when it does, it shows a different 'item count' than the time before. On top of that, it never disappears, which is not at all what I want.
Ideally, again, I'd like to simply display an AjaxLoadingPanel during the export, but will settle for using the ProgressArea if need be...
Any and all assistance is greatly appreciated!
Thank you!
First, the progress indicator appears when the grid is first databound, prior to any attempts to export the data. It only briefly appears, but I don't want to see it unless I am actually doing an export.
Second, when doing the export, the progress area exhibits inconsistent behavior... it doesn't always display, and when it does, it shows a different 'item count' than the time before. On top of that, it never disappears, which is not at all what I want.
Ideally, again, I'd like to simply display an AjaxLoadingPanel during the export, but will settle for using the ProgressArea if need be...
Any and all assistance is greatly appreciated!
Thank you!
0
Hello Brian,
All "progress indicators" suffer from a common issue when exporting - there is no easy way to hide them. First, it is hard to determine whether the file has been transferred to the client. Second, all changes made after the file has been exported will affect the output file only - this means that even if you hide the loadingpanel / progressarea / etc this setting won't have an effect on your real page.
One of the workarounds would be to force the user to press a CLOSE / FINISH button to refresh the page.
Best regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
All "progress indicators" suffer from a common issue when exporting - there is no easy way to hide them. First, it is hard to determine whether the file has been transferred to the client. Second, all changes made after the file has been exported will affect the output file only - this means that even if you hide the loadingpanel / progressarea / etc this setting won't have an effect on your real page.
One of the workarounds would be to force the user to press a CLOSE / FINISH button to refresh the page.
Best regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

Alan T
Top achievements
Rank 1
answered on 08 Jan 2012, 07:29 PM
I assume there's still no proper solution to hiding the ajaxpanel after the export has finished ?
you mentioned a close button, have you got a code library project with this demonstrated ? or could you describe hte implementation ?
Regards,
Alan
you mentioned a close button, have you got a code library project with this demonstrated ? or could you describe hte implementation ?
Regards,
Alan
0

Alan T
Top achievements
Rank 1
answered on 09 Jan 2012, 12:16 PM
still playing with this;
ideally it would be nice to use the radconfirm to popup when the export has finished, with a button that refreshes the page.
ideally it would be nice to use the radconfirm to popup when the export has finished, with a button that refreshes the page.