Good evening everyone.
I'm trying to create new Web App then add 'Telerik Web Forms Report Viewer Forn R1 2019' to it.
My problem is export option : it should have .xlsx, .docx and pptx
Once I used R3 2018 , it work as I aspect
I also attach image. export 2018 is what i use to do and what I expect and export 2019 is what i struck.
PS. I'm not native English.
4 Answers, 1 is accepted
Check if you have all of the required references listed in the Open XML SDK for Microsoft Office. You may also need to add a binding redirect in the Web.config file of the application through a piece of code like (when using DocumentFormat.OpenXml version 2.5.5631.0) :
For more information, you can refer to Missing DOCX, XLSX, PPTX, XPS export options KB Article.
Note also that there is a known issue with our latest official release (220.127.116.11) described in the Telerik Reporting R1 2019 fails to load assembly DocumentFormat.OpenXml 2.7.2+ KB article.
In case someone comes to this post in the future wondering how to make it work in an ASP.NET Core 3.1 app, I finally found (after many attempts) the Telerik support article with the answer:
then scroll down to the "Add the required dependencies" and you'll find the answer on item #2:
Optionally, for export to Office OpenXML document formats (XLSX, DOCX and PPTX) install the Telerik.Reporting.OpenXmlRendering (or Telerik.Reporting.OpenXmlRendering.Trial) NuGet package and the DocumentFormat.OpenXML NuGet package version 18.104.22.168 and above.