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

problem with export excel of radgrid

3 Answers 104 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
incrysis incrysis
Top achievements
Rank 1
incrysis incrysis asked on 15 Feb 2010, 09:03 AM
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
   

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 16 Feb 2010, 05:33 AM
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.
0
incrysis incrysis
Top achievements
Rank 1
answered on 16 Feb 2010, 08:23 AM
Thanks for your reply
0
Sureshkumar
Top achievements
Rank 1
answered on 21 Jul 2014, 08:33 AM
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
Tags
Ajax
Asked by
incrysis incrysis
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
incrysis incrysis
Top achievements
Rank 1
Sureshkumar
Top achievements
Rank 1
Share this question
or