4 Answers, 1 is accepted
0
Hi Frank,
Exporting is not supported if it is initiated with AJAX request, but you could take a look at the following help article for detailed information on this matter and how to handle the export in RadGrid with enabled AJAX:
Hope this helps.
Regards,
Konstantin Dikov
Telerik
Exporting is not supported if it is initiated with AJAX request, but you could take a look at the following help article for detailed information on this matter and how to handle the export in RadGrid with enabled AJAX:
Hope this helps.
Regards,
Konstantin Dikov
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Roger
Top achievements
Rank 1
Veteran
answered on 25 Mar 2019, 01:00 PM
Hello
This quote from the mentioned article does not seem to be correct, or for some reason it does not work for me, when using RadGrid within an UpdatePanel:
"Since Q1 2016 the default built-in export buttons are already performing regular postback, therefore it is not needed to manually exclude them from Ajax, even the RadGrid control is ajaxified, to perform export with them."
I am using UI for ASP.NET AJAX 2019.1.215.45. It only worked for me by adding CommandItemTemplate with custom buttons and setting "args.set_enableAjax(false)" for specific export to Excel button.
Cheers,
Roger
0
Roger
Top achievements
Rank 1
Veteran
answered on 25 Mar 2019, 01:31 PM
I need to be more precise. The export to Excel with built-in export button actually works after initial load of page / grid. However, it stops working for me after some column filters have been set (or probably other partial postbacks).
0
Hi Roger,
I have noticed that this forum thread is a duplicate of your formal support ticket you have opened in regards to exporting Ajaxified RadGrid with built-in export buttons. In that support ticket we have discussed that RadAjaxManager and RadAjaxPanel controls have been configured to exclude the exporting from AJAX requests. We have no information whether this feature had been implemented in the ASP UpdatePanel, and therefore we cannot guarantee it would work similar to the Rad Ajax controls.
Kind regards,
Attila Antal
Progress Telerik
I have noticed that this forum thread is a duplicate of your formal support ticket you have opened in regards to exporting Ajaxified RadGrid with built-in export buttons. In that support ticket we have discussed that RadAjaxManager and RadAjaxPanel controls have been configured to exclude the exporting from AJAX requests. We have no information whether this feature had been implemented in the ASP UpdatePanel, and therefore we cannot guarantee it would work similar to the Rad Ajax controls.
Kind regards,
Attila Antal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.