Declined
Last Updated: 21 Jun 2022 10:00 by ADMIN
ADMIN
Marin Bratanov
Created on: 05 Oct 2017 10:15
Category: Ajax
Type: Bug Report
1
Multiple requests in IE when exporting AJAX-enabled RadGrid if there are multiple RadAjax controls on the page
A grid in a RadAjaxPanel will fire several requests when exporting if there is a RadAjaxManager on the page as well.

Stems from the _setupExclusionFilters function where each RadAjaxControl adds as a handler to Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest which does a  sender._form.submit(); and gets called in the initialize method of the control.

The resolution is to use only RadAjaxManager to AJAX-enable complex pages that require the built-in exports as well and make sure to remove all RadAjaxPanel instances. This is the better approach anyway: http://docs.telerik.com/devtools/aspnet-ajax/controls/ajaxmanager/troubleshooting/controls-wrapped-in-ajaxpanel-and-added-to-ajaxmanager-settings

Repro and example solutions are added in the file attached below.
2 comments
ADMIN
Rumen
Posted on: 21 Jun 2022 10:00
Declined due to that Internet Explorer is no longer supported by Microsoft.
Mike
Posted on: 19 Oct 2017 16:36
Thanks - we have almost 70 pages that experience this issue, and updating them may be quite time consuming.  It would be great if the fix allowed these two controls to co-exist without having the multiple request issue.

When the multiple requests are triggered, IE and the server sometimes generates an invalid export file, causing user issues and false positive error log entries.