Export command items not working with AJAX

2 posts, 1 answers
  1. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2009

    Posted 18 Mar 2010 Link to this post

    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"
            <telerik:AjaxSetting AjaxControlID="dgOrders" EventName="Click"
                    <telerik:AjaxUpdatedControl ControlID="dgOrders" LoadingPanelID="RadAjaxLoadingPanel1" /> 
    <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?
  2. Answer
    Pavlina avatar
    6069 posts

    Posted 18 Mar 2010 Link to this post

    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.

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top