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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ArgumentOutOfRangeException in GridToExcel

Thread ID:

Created:

Updated:

Platform:

Replies:

59343 Apr 11,2007 02:28 PM UTC Apr 11,2007 05:19 PM UTC Windows Forms 1
loading
Tags: GridControl
Omar
Asked On April 11, 2007 02:28 PM UTC

Hi,

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)

Thanks.

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,
Haneef

CONFIRMATION

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.

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

;