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

Radgrid does not export to excel in version 3.6.6.0

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mainak
Top achievements
Rank 1
mainak asked on 20 May 2011, 08:14 AM
below given is the server side code:

 protected void btnExcel_click(object sender, EventArgs e)
        {
            rg1.ExportSettings.ExportOnlyData = true;
            rg1.ExportSettings.IgnorePaging = true;
            rg1.ExportSettings.OpenInNewWindow = true;
            rg1.MasterTableView.ExportToExcel();

      }

Please do help me for the same .

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 May 2011, 09:39 AM
Hello Maninak,

Please take a look at the following demo.
Grid / MS Excel/MS Word/CSV.

Thanks,
Shinu.
Tags
Grid
Asked by
mainak
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or