Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
WebExcelExporter throws inherit is not a valid value for Int32
posted

I' m using Infragistics4.Web.v11.2, IIS 7.5, ASP.NET 4.0

I have a WHDG with three levels. I have assigned CellExporting and RowExporting events of WebExcelExporter, but they are not firing.

protected void ExportToExcel()
{
    this.WebExcelExporter.Export(reportGrid);
}

It blows at this line with the above exception and the inner exception is Input string was not in a correct format.

Stack trace:
 
   at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)

The types contained in the grid are: GUID, decimal, bool, string

I can't figure out what is not in the correct format?