Last post Nov 07, 2017 03:38 AM by Kelmen
Nov 02, 2017 09:55 AM|Kelmen|LINK
the export button is not showing, even a proper rpt is generated.
it only show the report page navigation, and refresh buttons.
i have tried to increase the report viewer size, assuming it need bigger width to show that buttons, but it's not working.
at rare times, dunno how, it will show that button.
Nov 06, 2017 08:16 AM|Deepak Panchal|LINK
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);
if it is using the code like this then try to modify the code to solve the issue.
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.
LocalReport(rdlc) in asp .net
Nov 07, 2017 03:38 AM|Kelmen|LINK
based on testing, it is due to the client side viewer width/size
small window will not able to get that export button
for testing, i set it to something like 600/800 width, only it shows up
anyway, now i'm trying to do server rendering, once it done, i don't need the viewer at client side.