Hey I have used a radgrid and i have tried to export the data to excel using the code below
but the thing happened after clicking the button is that it doesn't took me to any excel spread sheet but has changed the format of data like and excel sheet on the same page
what should i do to get the data into excel document here is the code
but the thing happened after clicking the button is that it doesn't took me to any excel spread sheet but has changed the format of data like and excel sheet on the same page
what should i do to get the data into excel document here is the code
protected
void Button5_Click(object sender, EventArgs e)
{
radgrid1.ExportSettings.ExportOnlyData =
true;
radgrid1.ExportSettings.IgnorePaging =
true;
radgrid1.MasterTableView.AllowFilteringByColumn =
false;
radgrid1.ExportSettings.OpenInNewWindow =
true;
radgrid1.MasterTableView.ExportToExcel();
}