Hi,in XamGrid I want to export the data to excel;in your control XamDataGrid I can use the DataPresenterExcelExporter-Class.Is there a way to use the DataPresenterExcelExporter-Class in XamGrid?Thanks voks
Hi,
I went through that link but could n't find equivalent InfragisticsSL5.Controls.Grids.ExcelExporter.v12.1.dll in WPF. Can you attach a working sample for WPF with this post?
Regards,
Varun
Hi Cloud,
I've attached a working sample that exports a grid of 20 columns and 20 rows. Can you run this sample on your machine and let me know if the issue still exists.
Also can you provide the stack trace for the exception you currently have in your project? Please provide the InnerException details as well.
not very much... about 20 columns and 20 rows i guess... that´s always different...
i´m using 12.1
How many rows and columns are you trying to export? I'll create a sample to test this. Also which version of NetAdvantage are you using? 11.2? 12.1? 12.2?
xporter.Export(grid,filename,WorkbookFormat.Excel2007, options);
in this line i get my error...
but it´s not always a NullReferenceException sometimes it is AccessViolenceException...
there i set my DatePresenterExcelReporter.
<Window.Resources> <igExcelExporter:DataPresenterExcelExporter x:Key="excelExporter"></igExcelExporter:DataPresenterExcelExporter> </Window.Resources>.
But it stillt doesn´t work if i use a new instance of the DataPresenterExcelExporter....