Hi,
I want to disable excel export option from report viewer. I looked the thread https://forums.asp.net/p/1850143/5175139.aspx?Re+Disabling+export+options+on+SSRS+report+viewer+in+VS+2012.
I tried solution provided in this thread. I have added " DisableUnwantedExportFormat(ReportViewer ReportViewerID, string strFormatName)" in page load. but the option is not hiding.
Additional information :
Reportviewer control show report from the report server.
I am using vs 2019 . and have in my web.config file.
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />
Resolved
for ReportViewer 2012 (v11),
Excel => EXCELOPENXML
Word => WORDOPENXML