When I try to export data to Excel from RadGrid in localhost it works fine, but if I publish my page in the server it stops working.
I have the next code:
protected void btnExportToExcel_Click(object sender, EventArgs e)
{
radGridAlerts.ExportSettings.Excel.Format = GridExcelExportFormat.Xlsx;
radGridAlerts.ExportSettings.FileName = "Alerts Data";
radGridAlerts.ExportSettings.IgnorePaging = true;
radGridAlerts.MasterTableView.ExportToExcel();
}
Do you know why happens?