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

Export to Excel function in RadGrid is not currently working

3 Answers 484 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jason
Top achievements
Rank 1
jason asked on 16 Jun 2009, 08:06 PM
Hello,

Our team is using the RadGrid component in one of our applications.  It has been working great so far.  Recently, a bug cropped up:

When clicking our "Export to Excel" button, nothing seems to happen any more.  Here is the code for our "export" button:

 

this.radGridLicenseTerms.ExportSettings.ExportOnlyData = true;

 

 

this.radGridLicenseTerms.ExportSettings.IgnorePaging = true;

 

 

this.radGridLicenseTerms.ExportSettings.OpenInNewWindow = true;

 

 

this.radGridLicenseTerms.ExportSettings.FileName = COMPANYCONTRACTS_EXPORTFILENAME;

 

 

this.radGridLicenseTerms.MasterTableView.ExportToExcel();

 


I've stepped through the code and it is successfully executing each step without any errors showing, but the download dialog is not showing up.

One other thing worth noting:  The checkboxes in the grid are disappearing after the button is clicked. Any help would be appreciated.

Jason

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 17 Jun 2009, 05:20 AM
Hello Jason,

Please examine the following links:
Export RadGrid content to Excel/Word/CSV/PDF with Ajax enabled
Exclude controls from ajaxifying

I hope this helps.

Kind regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
ravi
Top achievements
Rank 1
answered on 28 Feb 2011, 11:54 AM
Hi,

I am using the Radgrid which is of radgrid.net2.dll version 1.4.3.0 and its giving the problem while exporting griddata to excel

error is when data in the grid is "Construction Solutions and LEED®" then in the excel it shows the "Construction Solutions and LEED®" .


please help me out .


Ravi
0
Daniel
Telerik team
answered on 03 Mar 2011, 05:42 PM
Hello Ravi,

This version of RadControls is no longer supported. I recommend that you migrate to RadControls for ASP.NET AJAX as I already mentioned in your other thread:
Link to public post

Regards,
Daniel
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
jason
Top achievements
Rank 1
Answers by
Daniel
Telerik team
ravi
Top achievements
Rank 1
Share this question
or