Add 'Email To' Option Instead of Default Export in SSRS ReportViewer

Akshayaa Kalyanavenkatesh 60 Reputation points
2025-09-15T07:56:09+00:00

I'm using the SSRS ReportViewer control. The built-in 'Export' option opens the report in a new window, which is a security risk. I want to replace it with an 'Email to' option instead — is that possible?
Alternatively, are there other measures we can implement to mitigate the security vulnerability introduced by the Export feature?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 30,735 Reputation points MVP Volunteer Moderator
    2025-09-15T17:14:05.99+00:00

    Hi there Akshayaa Kalyanavenkatesh

    Thanks for using QandA platform

    The ReportViewer control doesn’t support swapping out the built-in Export dropdown for a custom “Email to” option. If you need that , try to hide/disable the Export button and implement your own custom button in the app that renders the report and then emails it using SSRS server-side subscriptions or by programmatically exporting to PDF/Excel with the LocalReport.Render method and sending it via SMTP.

    If security is the concern, you could also lock down which export formats are available (by editing RSReportServer.config) or wrap the exported file handling with your own logic. In short, you can’t directly repurpose Export as “Email to,” but you can disable it and provide your own safer alternative.

    If this helps kindly accept the answer thanks much.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.