We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error when trying to export to excel

Thread ID:





75224 Jul 16,2008 04:48 PM UTC Jul 17,2008 04:10 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Kathy Gray
Asked On July 16, 2008 04:48 PM UTC

When I copy the code you have in your example for exporting the grid to excel, I get the following error:

'GroupingGridExcelConverterControl' is ambiguous in the namespace 'Syncfusion.GroupingGridExcelConverter'.

Rajarajeswari S [Syncfusion]
Replied On July 17, 2008 04:10 AM UTC

Hi Kathy,

Thanks for using Syncfusion products.

Currently, we have the Excel export feature implemented with full support to the auto-formats present in the Grid. Please check out the details below,

. Exporting the data to excel file.
. Exporting the background color of the Grid (when AutoFormat is set) to excel file.
. Exporting the Grouped, Summary columns.
. Excel file, columns and rows can be autofitted.

Please refer the below code snippet which illustrates the above:

GroupingGridExcelConverterControl ggExcelConverter = new GroupingGridExcelConverterControl();
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
IWorkbook myWorkbook = excelEngine.Excel.Workbooks.Create(2);
IWorksheet mySheet = myWorkbook.Worksheets[0];
ggExcelConverter.AutofitColumns = true; // used to Autofit the Excel columns
ggExcelConverter.AutofitRows = true; // used to Autofit the Excel rows
ggExcelConverterGroupingGridToExcel(myWorkbook,this.GridGroupingControl1, mySheet, ConverterOptions.Visible);

Please refer the sample from the below link which illustrates this:


The above sample is in version, but you can find the modified version of this code present in the "App_Code" directory of the sample. These classes would work with latest version( of Essential Studio also.

- Copy the files present under "App_Code" directory of the sample.
- Paste it in your application''s "App_Code" folder.

Once you have the files in your "App_Code" directory of your application, the new classes would be referred. So no need to refer the Syncfusion.GridConverter.Web.dll.


Please refer the below link to download our latest version

DownLoad Link:


Unlock key:

If your Essential Studio license is current, you will be able to obtain the key to install this version from your account in DirectTrac. Otherwise, please contact your Syncfusion Sales Representative or e-mail salessupport@syncfusion.com .

Please let me know if you have any other concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon