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

RadGrid events in Provider hosted Add-In

0 Answers 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kod
Top achievements
Rank 1
Kod asked on 26 Oct 2017, 04:43 PM

Hello,

I am new to this forum and using Telerik controls for the first time.

I am using RadGid in Provider Hosted Add-In and so far could bind the data to it. My questions are:

1. When i use default ExportToExcel functionality nothing happens.. The page becomes blank after showing RadAjaxLoadingPanel

I have written below code for that:

protected void RadGrid_ItemCommand(object source, GridCommandEventArgs e)
        {          
            if (e.CommandName == RadGrid.ExportToExcelCommandName)
            {
                RadGridRequests.ExportSettings.Excel.Format = GridExcelExportFormat.Biff;
                RadGridRequests.ExportSettings.IgnorePaging = true;
                RadGridRequests.ExportSettings.ExportOnlyData = true;
                RadGridRequests.ExportSettings.OpenInNewWindow = true;
            }
        }

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Kod
Top achievements
Rank 1
Share this question
or