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

ArgumentOutOfRangeException in GridToExcel

Thread ID:





59343 Apr 11,2007 02:28 PM UTC Apr 11,2007 05:19 PM UTC WinForms 1
Tags: GridControl
Asked On April 11, 2007 02:28 PM UTC


I'm trying to export a Syncfusion grid to Excel. I've noticed that if there is a large row in the grid (maybe 2/3 of the page), then an ArgumentOutOfRange exception is thrown:

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: Height
at Syncfusion.XlsIO.Implementation.WorksheetImpl.InnerSetRowHeight(Int32 iRowIndex, Double value, Boolean bIsBadFontHeight, MeasureUnits units, Boolean bRaiseEvents)
at Syncfusion.XlsIO.Implementation.WorksheetImpl.SetRowHeightInPixels(Int32 iRowIndex, Double value)
at Syncfusion.GridExcelConverter.GridExcelConverterBase.CopyRowHeightFromGrid(GridModel grid, IWorksheet sheet, Int32 iStartGridRow)
at Syncfusion.GridExcelConverter.GridExcelConverterControl.GridToExcel(GridModel grid, IWorksheet sheet, ConverterOptions options)
at Syncfusion.GridExcelConverter.GridExcelConverterControl.GridToExcel(GridModel grid, String fileName, ConverterOptions options)
at Syncfusion.GridExcelConverter.GridExcelConverterControl.GridToExcel(GridModel grid, String fileName)


haneefm [Syncfusion]
Replied On April 11, 2007 05:19 PM UTC

Hi Omar,

Please try to provide us some more information on this issue. I tried to reproduce the issue, but couldn't. kindly provide us a small sample to reproduce the issue or modify any of our browser sample accordingly. This will help us to analyse the issue further.

Best regards,


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

or the page will be automatically redirected to 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