Hi,
spreadexportrenderer not available in telerik.wincontrols.export name space. Anyone can give me a idea on how sort this.
what I am trying is
Dim renderer As Telerik.WinControls.Export.SpreadExportRenderer = New Telerik.WinControls.Export.SpreadExportRenderer()
spreadExporter.RunExport(dialog.FileName, renderer)
Madura
9 Answers, 1 is accepted
Thank you for writing.
The SpreadExportRenderer is part of the TelerikExport.dll assembly so please make sure that you are referencing it. If you still cannot compile your project then the version of the controls you are using is outdated. In this case please upgrade to the latest version.
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
We are not aware of an issue with the NuGet packages at the moment, please check the attached screenshot. In case you keep having issues, you can also download the controls straight from your Telerik account: https://www.telerik.com/account.
Regards,
Hristo
Progress Telerik
Hristo, thank you for replying.
I have included the reference to Telerik.WinControls.Export but my issue was similar the first post of this thread. The SpreadExportRenderer is not available in WinControls.Export only the interface ISpreadExportRenderer is available.
Based on the information in the instructions I was assuming there was as an assembly named TelerikExport that needed to be referenced.
The ISpreadExportRenderer interface is defined in the Telerik.WinControls.dll assembly and it also has the same namespace as the assembly name. The SpreadExportRenderer class is part of the TelerikExport.dll assembly and its namespace is Telerik.WinControls.Export. Please also refer to the following documentation article specifying the required assemblies: https://docs.telerik.com/devtools/winforms/controls/gridview/exporting-data/spread-export.
Let me know if you need further assistance.
Regards,
Hristo
Progress Telerik
Hristo,
I understand what you are saying but I still can not find SpreadExportRenderer class in WinControls.Export. Have you tried to look? Please see the attached screenshot. Am I doing something wrong?
Hristo,
I found the issue. I looked at the demos for the latest release and it shows to use ExportToExcelML, not SpreadExportRenderer.
The ExportToExcelML class is the old export provider, it is still possible to use but it is more limited compared to the GridViewSpreadExport. The new exporting engine utilizes the SpreadProcessing libraries and it native exports in the .Xlsx format.
Regards,
Hristo
Progress Telerik