This is a migrated thread and some comments may be shown as answers.

Exporting to word doc

2 Answers 420 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
veena
Top achievements
Rank 1
veena asked on 14 Apr 2011, 04:04 PM
I have installed latest dll for reporting which supports DOCX rendering, but I am still getting {"DOCX rendering format is not available."}
I can render same data in RTF format and save on DOCX but we want content to be rendered in docx only.
 I am using Telerik Reporting dll version 5.0.11.328

Thanks

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 14 Apr 2011, 04:07 PM
Hi veena,

DOCX/PPTX/XLSX rendering extensions require Telerik.Reporting.OpenXmlRendering.dll and Open XML SDK 2.0 for Microsoft Office (DocumentFormat.OpenXml.dll v.2.0.5022.0 or above). If you want to avoid the installation of Open XML SDK you can reference the required DocumentFormat.OpenXml assembly from C:\Program Files (x86)\Telerik\Reporting Q1 2011\Examples\bin folder.

Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
veena
Top achievements
Rank 1
answered on 14 Apr 2011, 04:18 PM
Thanks Steve for fast response, that was it. I referenced the DocumentFormat.OpenXml.dll and it worked.

Just FYI: When I referenced Telerik.Reporting.OpenXmlRendering.dll, I started getting errors in other project where it was using reflection

Assembly

 

 

[] AssembliesLoaded = AppDomain.CurrentDomain.GetAssemblies();

 

 

 

 

foreach (Assembly assembly in AssembliesLoaded) *** at this line
{

 

}


As I can get it to work, its no biggie but something I noticed...

Veena
Tags
General Discussions
Asked by
veena
Top achievements
Rank 1
Answers by
Steve
Telerik team
veena
Top achievements
Rank 1
Share this question
or