User347430248 posted
Hi Kelmen,
I want to confirm with you that is the export button not displaying completely or there are no options in export button?
check that your report is using any code like below or not. which is used to disable the export options in export button.
protected void ReportViewer_OnLoad(object sender, EventArgs e)
{
//string exportOption = "Excel";
//string exportOption = "Word";
string exportOption = "PDF";
RenderingExtension extension = ReportViewer1.LocalReport.ListRenderingExtensions().ToList().Find(x => x.Name.Equals(exportOption, StringComparison.CurrentCultureIgnoreCase));
if (extension != null)
{
System.Reflection.FieldInfo fieldInfo = extension.GetType().GetField("m_isVisible", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
fieldInfo.SetValue(extension, false);
}
}
if it is using the code like this then try to modify the code to solve the issue.
Reference:
ASP.Net RDLC (Local SSRS) Report Viewer: Hide (Disable) specific export option
(Word / Excel / PDF) from Export button
How to disable (hide) specific Export Button from RDLC ReportViewer in ASP.Net
also check that you had added the export controls like below.
ReportViewer1.ShowExportControls = true;
if not then you can try to add it and then make a test.
Reference:
LocalReport(rdlc) in asp .net
Regards
Deepak