I just upgraded to 14.1 and my Workbook.Save call no longer works. Prior to this version I was using 13.1 and all I had to pass to the save method was the file name. In 14.1 I need to pass the file name as well as WorkbookSaveOptions. Not sure why this was changed but what exactly do I need to pass?
Hi,
Thank you for contacting Infragistics Developer Support.
While the Save method of the Infragistics.Excel.Workbook class was changed to accept WorbookSaveOptions, this parameter is optional. These means that you can still use it passing only a string and it will use the Default save options, so this can’t cause issues when upgrading. This was added to give more flexibility to this method. For more information on the method please visit this link:
http://help.infragistics.com/Doc/WinForms/2014.1/CLR4.0/?page=Infragistics4.Documents.Excel.v14.1~Infragistics.Documents.Excel.Workbook~Save(String,WorkbookSaveOptions).html
Please let me know if you have any additional questions.
My code no longer compiles with 14.1. I do not see the method listed with just the file name as a parameter. I do see the second parameter as optional but you need to pass a null. This requires me to change my code everywhere I am using this method...unless I am missing something.