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

Export command items not working with AJAX

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 18 Mar 2010, 04:34 PM
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="dgOrders" EventName="Click"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="dgOrders" LoadingPanelID="RadAjaxLoadingPanel1" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManagerProxy> 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> 

I have the above code around my RadGrid where dgOrders is the name of my RadGrid.  I have an Export To Excel button.  But it doesn't work with the AjaxManager applied.  It works without it.  Any workarounds?

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 18 Mar 2010, 04:40 PM
Hi Matt,

The exporting feature of the control work with regular postbacks only. The reason is the grid prepares additional information when performing export operation (available on postback). When the action is performed through asynchronous requests, this information can not be passed through the XMLHttpObject - that is why the communication between the browser and the server fails.

For more information about how to bypass the limitation, please refer to this help article:
Export from ajaxified grid

I hope this helps.

Greetings,
Pavlina
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.
Tags
Grid
Asked by
Matt
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or