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

Missing export formats

8 Answers 838 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tomica
Top achievements
Rank 2
Tomica asked on 05 Jun 2013, 06:32 PM
I am running the latest version of Telerik Reporting using the Control Panel app.  (Version=7.0.13.426)

This is a VS 2012 VB website, and I have verified the presence of the OpenXMLRendering.dll in the BIN directory.

When viewing a report my export options do not include DOCX or XLSX.

I have checked my web.config file and it appears to have the proper entries.

My export options in the Report Viewer control match the intended selection, XLS, CSV and PDF, but do NOT include DOCX or XLSX.
 
<configSections>
  <section name="Telerik.Reporting" type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting, Version=7.0.13.426, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere" />
</configSections>
<Telerik.Reporting>
  <Extensions>
    <Render>
      <Extension name="IMAGE" visible="false" />
      <Extension name="MHTML" visible="false" />
      <Extension name="XLS" visible="true" />
      <Extension name="CSV" visible="true" />
      <Extension name="RTF" visible="false" />
      <Extension name="XPS" visible="false" />
      <Extension name="PDF" visible="true" />
      <Extension name="DOCX" visible="true" />
      <Extension name="XLSX" visible="true" >
      <Parameters>
          <Parameter name="DocumentAuthor" value="CGA debug" />
        </Parameters>
      </Extension>
    </Render>
  </Extensions>
</Telerik.Reporting>
<appSettings>


8 Answers, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 10 Jun 2013, 11:11 AM
Hi Tomica,

Apart from OpenXMLRendering.dll you should also make sure you have installed Open XML SDK 2.0 for Microsoft Office, as stated in this documentation article: Deploying Web Applications. If you would like to avoid the installation of Open XML SDK, you can reference the required DocumentFormat.OpenXml assembly from C:\Program Files (x86)\Telerik\Reporting Q3 2012\Examples\bin folder.

Regards,
Ivan Hristov
Telerik

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

0
Nauman
Top achievements
Rank 1
answered on 28 Aug 2014, 10:54 AM
Hello tomica,

Did you find any solution for these missing extensions ? 

Regards,
Nauman Usmani
0
Stef
Telerik team
answered on 01 Sep 2014, 08:58 AM
Hello Nauman,

If you refer to the OpenXML rendering extensions as XLSX, DOCX, PPTX, you need to add references to Telerik.Reporting.OpenXmlRendering.dll and Open XML SDK 2.0 for Microsoft Office (DocumentFormat.OpenXml.dll v.2.0.5022.0 or above). To use a greater version than DocumentFormat.OpenXml.dll v.2.0.5022.0 you need to add binding redirects in the start application's configuration file.


Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Nauman
Top achievements
Rank 1
answered on 02 Sep 2014, 06:21 AM
Hello Stef,

thank you for your help, its all about putting "Telerik.Reporting.OpenXmlRendering.dll and Open XML SDK 2.0 for Microsoft Office (DocumentFormat.OpenXml.dll v.2.0.5022.0" to the right Project, and everything is visible there.

I have one more question to ask, regarding the Parameters for '.XLSX' while exporting to Excel WorkBook , my cell style lost and it gives me error. please find the attachment to have a look. do we have any Parameter for this issue ? 
and from where did i get the list of Parameters for all Extensions.?


Regards,
Nauman Usmani
0
Stef
Telerik team
answered on 04 Sep 2014, 01:34 PM
Hi Nauman,

The reason for the error might be in the used per report DocumentName.When you export a report document, the Excel sheet name is the value set for the report's DocumentName property. Excel has limitations in the naming of workbooks and sheets. Thus you need to avoid the described characters in the report's DocumentName property.

You can check also the Design Considerations for Excel Rendering article.

The full list of available rendering extensions is available in the Rendering Extensions help article. And information about the device settings for each in the Device Information Settings section.


If the above information does not help you to resolve the issue, please share the report file producing the erroneous Excel file.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Saroj Kumar
Top achievements
Rank 1
answered on 26 May 2015, 06:34 AM

I am trying to export telerik gridview records into excel 2007 i.e. xlsx format.  I am using VS 2013.

Though its exported, but column formats are not coming correctly. Its working perfectly in .xls format. The only change in code i have done is :

 gridview1.ExportSettings.Excel.Format = GridExcelExportFormat.Xlsx;

Can anyone help on this.

Thanks in advance.

 

 

0
Nasko
Telerik team
answered on 27 May 2015, 01:43 PM
Hello Saroj Kumar,

Telerik Reporting does not contain a GridView item.

Please post a new thread with your inquiry in an appropriate forum section for the used product: Telerik Forums.

Regards,
Nasko
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Saroj Kumar
Top achievements
Rank 1
answered on 28 May 2015, 04:04 AM
[quote]Nasko said:Hello Saroj Kumar,

Telerik Reporting does not contain a GridView item.

Please post a new thread with your inquiry in an appropriate forum section for the used product: Telerik Forums.

Regards,
Nasko
Telerik
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 Feedback Portal and vote to affect the priority of the items
[/quote]
Tags
General Discussions
Asked by
Tomica
Top achievements
Rank 2
Answers by
Ivan Hristov
Telerik team
Nauman
Top achievements
Rank 1
Stef
Telerik team
Saroj Kumar
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or