I get the following error on exporter.Export():
{"Entry point was not found.":""}
public static void ExportGrid(XamDataGrid grid) { string file = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "FXMarry.xlsx"); DataPresenterExcelExporter exporter = new DataPresenterExcelExporter(); Workbook w = exporter.Export(grid, file, WorkbookFormat.Excel2007); w.Save(file); Process.Start(file); }
My first thought was that I have an old dll but I checked and I'm using these
InfragisticsWPF4
.v11.1
.DataPresenter.v11.1
.DataPresenter.ExcelExporter.v11.1
.Documents.Excel.v11.1
I got the same issue, the infragistics feature browser excel exporter example works, but not my code, i have the EntryPointNotFoundException.
Any idea?
Hello,
I got the same issue (i use the v9.2), the excel exporter works on the infragistics samples browser, but when i try it, its fail with the EntryPointNotFoundException.
Any kind of idea about this error?
My Code:
var sfd = new SaveFileDialog { Title = m }; var result = sfd.ShowDialog(PopupUtils.ParentFinder(this)); if (result == true && sfd.FileName != "") { var exporter = new DataPresenterExcelExporter(); exporter.Export(this.elementsList.gridElements, sfd.FileName, WorkbookFormat.Excel2007); Process.Start(sfd.FileName); }
Installed the SP and its fixed.