How to add additional options for export dropdown in a reportviewer - rdlc

Do anyone have good ideas of how an additional option can be added to the existing export drop down menu in a report viewer?
Currently it has Excel, PDF and Word , and i want to add one more option that export the data to .csv format.
Thank you

If you are using local reports (as the tags on on this question suggests), you cannot add more options to the export dropdown, as this is a limitation of the ReportViewer control in this mode.

Related

SSRS 2016 - Change CSS of Report Server

I want to change the css file of my reports.
How can I do it with reporting services 2016?
The old methods didn't work for me (add style sheet file or make changes at the HtmlViewer file).
To just hide the headers and the option to navigate back to home change the link address to the report from
http://Reportserver/Reports_Instance/report/Folder/Report
to
http://Reportserver/ReportServer_Instance/Pages/ReportViewer.aspx?/Folder/Report
So you only get to see the report
To change the style of your report, it is intuitive. You can select the colors you want to include, chart borders, chart styles, etc directly on the GUI. I highly suggest that you rephrase your question to be more specific. Then, we can help you get the answer you are looking for.

Creating read-only Microsoft Word file using VB.net

I am trying to create a Microsoft Word file in VB.net which is read only.
My aim is that user will input the data in a Windows form, after pressing export button it'll get exported to a Word document. But here's a twist: I want this Word file to be read only.
Is there any option to do this? I have tried exporting through Crystal Report, but its still editable.
Any help would be appreciated.
You can use the File.SetAttributes method for that, I think. Check the MSDN site.

Saving data in RDLC File

Can any one tell me if it is possible to save data inside an RDLC file, I am using the syncfusion Report Viewer and I want to be able to save the report it generates as a PDF, Execl ect but the problem we have is that we compute the values for the report, they are NOT COMMING FROM A DATABASE, so we tie them to a dataset and then generate the report, the problem I have found is that if I use the WFC service from Syncfusion to save the report and have to switch it back to remote then the data's not render.
Is there a free or payed for component out there that can take the RDLC file, DATA render the report then output a report that I can read in to the report viewer (output prefred RDLC with Data embed), looking at the example syncfusuion provide they have done this.
RDLC does't support to store data inside ReportDefinition.
FOR EXPORT
Due to some limintation platform itself can’t export report directly in Syncfusion ReportViewer in Silverlight , but through the WCF service can export the report .. Please find our online documentation section “How to export RDLC report in Silverlight “
Location here
This sample demonstrate export functionality inSyncfusion ReportViewer. Please find the sample from following location

How to configure ReportViewer so it can be exported CSV in ASP.NET?

How to configure ReportViewer so it can be exported CSV in ASP.NET (ReportViewer that comes from VisualStudio 2005/2008)? So it will be apart of current drop downlist? At the moment, it's only for Excel and PDF but not CSV.
Thanks
When you run Report Viewer in Local mode, you cannot export to anything other than PDF and Excel. If you want to be able to export to other formats, you need to run Report Viewer in Server Mode. The rendering is then done on the SQL server through extensions.
The only way to make Report Viewer export other formats in local mode, is by overriding the render class, and basically write a renderer yourself. This is quite complicated.
On a side note, you can also enable Word and HTML rendering through Reflection. Howerver, the rendering of images through this technique is a little sketchy. I tried doing this, and the images would not render properly.

Disabling or overriding the excel and pdf export function in Reporting Services

Is there a way to disable or override the excel and pdf export function in SQL Server Reporting Services. I want to my own custom excel export.
To disable them, you can edit the ReportServer RSReportServer.Config file. Remove the Excel and PDF extensions from the Render section.
More Info:
http://msdn.microsoft.com/en-us/library/cc627537.aspx
Locate the file name RSReportDesigner.config at
"Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\RSReportDesigner.config".
then add visible = false
Your PDF export will not be visible in report server