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

Report viewer not showing report

$
0
0

Hi all. I have a Report Viewer control on my page which isnt displaying the specified report. When the page renders it doesnt error, all i can see is a tiny wee scroll bar at the rigth-hand side of the page. On my aspx page the code is as follows: 

"ReportViewer2" runat="server" Width="100%" Height="1000px" Visible="false">

 And on the code behind i have the following code:

private void LoadReport()
    {string ReportName = cboReportNames.SelectedValue.ToString();if (ReportName == "<Select A Report>")return;

        ReportViewer2.ServerReport.ReportServerUrl = new Uri((MultiVueSettings.ReportServerConnection));
        ReportViewer2.ServerReport.ReportPath = ReportName;
        ReportViewer2.ShowToolBar = true;
        ReportViewer2.Visible = true;

        pnlDefault.Visible = false;
    }

 Can anyone shed any ligth on why this may be?

 Thanks for reading.


Viewing all articles
Browse latest Browse all 1418

Trending Articles



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