Export to Excel in production

2 posts, 0 answers
  1. Susan
    Susan avatar
    137 posts
    Member since:
    Jul 2007

    Posted 09 Aug Link to this post

    I have searched and tried different things for 2 days. I am exporting RadGrid to Excel. Has worked in the past and just quit working in production. Works on my local machine.

    <telerik:RadGrid ID="grdCustom" AllowSorting="True" runat="server" GridLines="None" Width="100%"
                            OnExcelMLExportStylesCreated="grdCustom_ExcelMLExportStylesCreated" 
                            OnExcelMLExportRowCreated="grdCustom_ExcelMLExportRowCreated" AutoGenerateColumns="true" Style="overflow: hidden">
                            <MasterTableView UseAllDataFields="true"></MasterTableView>
                        </telerik:RadGrid>

     

    When the 'Export to Excel' button is clicked, the following is executed:

            grdCustom.ExportSettings.ExportOnlyData = True
            grdCustom.ExportSettings.OpenInNewWindow = True
            grdCustom.MasterTableView.UseAllDataFields = True

            grdCustom.MasterTableView.ExportToExcel()

    Like I mentioned earlier, works on my local machine but not in production environment.

     

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 11 Aug Link to this post

    Hello,

    I noticed that you have opened duplicate threads with the same questions. Therefore, I would like to ask you continue your communication in the support tickets, so we can easily track your case and provide more to the point answers for a shorter time.

    Regards,
    Pavlina
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top