Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

SSRS reporting does not display when containing made visible

$
0
0

I have a site consisting of div s that are made visible="true" or visible="false" based on what buttons the user operates.  One of the div s contains a ReportViewer...

<div id="divReports" runat="server" visible="false"><rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Visible="true" ShowReportBody="true" ShowToolBar="true"><ServerReport ReportServerUrl="http://sqlreps/ReportServer" ReportPath="/Report1"></ServerReport></rsweb:ReportViewer></div>

...the problem being that when the button is operated to make divReports visible="true" in the codebehind the report does not display.  No exception is thrown and nothing shows up in the debug output but the page is just empty.  If I change the code so that the div divReports is visible="true" when the site is first accessed the reporting displays on the page just fine.

Can someone kindly show me what I need to do to make the report display on the page when the button is operated to make divReports visible="true"?  Thanks tonnes for any help, Roscoe


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>