BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
The code below is from your sample MVC app. The HTML Report Viewer currently will export to Doc format. How would I modify the code below to export to Docx or Word2013 format.
@(Html.EJ().ReportViewer("reportviewer").ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Local).ReportPath("~/App_Data/GroupingAggregate.rdlc").ReportServiceUrl("/api/ReportAPI").DataSources(t => t.Name("Sales").Value(ViewData["Sales"]).Add()))
Hi Jeffrey,
Thanks for using Syncfusion Products.
We have exposed the WordFormatType property in our EJMVC
ReportViewer and using this we can set the specific export format for word as
shown by below code snippet,
@(Html.EJ().ReportViewer("reportviewer").ExportSettings(exp =>
exp.WordFormatType(Syncfusion.JavaScript.ReportViewerEnums.WordFormats.Docx)).ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Remote).ReportServiceUrl(VirtualPathUtility.ToAbsolute("~/api/SSRSReport")).ReportServerUrl("http://76.74.153.81/ReportServer").ReportPath("/SSRSSamples2/Territory
Sales new")) |
As of now, ReportViewer
does not support the export file extension based on the format type. We have
consider the enhancement as issue
“export the file extension based on the format type”, in order for you
to get a solution for this behavior, please contact us at Syncfusion Support or you may also open a
support ticket by login in to direct trac account and mention this forum
link for reference.
Please let us know, if you have any concerns.
Regards,
Soundara Rajan S.
Hi Jeffery,
Thanks for your update.
Yes, We have some issue with export the file extension based
on format type and we have logged defect report regarding this. A support
incident to track the status of this defect has been created under your
account. Please log on to our support website to check for further updates
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let me know, if you have any queries.
Regards,
Soundara Rajan S.