problem with export excel of radgrid

4 posts, 0 answers
  1. incrysis incrysis
    incrysis incrysis avatar
    8 posts
    Member since:
    Jan 2010

    Posted 15 Feb 2010 Link to this post

    hello
    i have a radgrid whit a loading panel. it's work.
    i have a problem when i make the export excel. when i click the export excel i want that the loading appear but in this way the export not work.
    this is my code:

       <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
       <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnPrevisionExport">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="GridPrevision" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        </telerik:RadAjaxManager>
        
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Skin="Default" runat="server" >
        </telerik:RadAjaxLoadingPanel>

    if i don't put the this code

       <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
       <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnPrevisionExport">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="GridPrevision" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        </telerik:RadAjaxManager>

    the export work but i haven't the loading on the grid.
    Any ideas to make export and have the loading on the grid?
    Thanks
       

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 15 Feb 2010 Link to this post

    Hello,

    The exporting feature of grid work with regular postbacks only because the grid prepares additional information when performing export operation (available on postback).

    You can find more information on exporting from ajaxified grid by going through the following link.
    Export from ajaxified grid

    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. incrysis incrysis
    incrysis incrysis avatar
    8 posts
    Member since:
    Jan 2010

    Posted 16 Feb 2010 Link to this post

    Thanks for your reply
  5. Sureshkumar
    Sureshkumar avatar
    1 posts
    Member since:
    Jul 2014

    Posted 21 Jul 2014 Link to this post

    The above fix is for ASP.NET web application. If you are using SharePoint visual webpart then look into the following URL
    http://www.telerik.com/community/forums/aspnet-ajax/grid/export-to-excel-in-sharepoint-application-page.aspx
    It should fix the issue.

    Thanks,
    Suresh
Back to Top