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
4165
ExcelExport V 12.2.2012.2027 , Excel 2013 and Grid
posted
Howdy, We have were using a the excel export to populate a grid with version 10.3 of your controls and excel 2010/2007. Everything was peachy. We updated the controls to the latest net advantage winforms and our office to 2013 and we get this error when trying Load from Workbook (Infragistics.Documents.Excel.Workbook) packageFactory cannot be null. When loading from Excel2007 workbook format and using the Infragistics2.Excel assembly, you must provide an IPackageFactory to handle the packaging of data. If you are using the DotNet Framework 3.0 or higher, use the Infragistics3.Excel assembly instead, and the packaging will be handled by the WindowsBase class. What do you all think?
Parents
  • 469350
    Offline posted

    Hi,

    I think the error message here is pretty clear. You are using the Infragistics2 Excel assemblies instead of the Infragistics3 assemblies. You must have picked the wrong assemblies when you upgraded your project. So you just have to change the references to the correct ones.

Reply Children
No Data