Display your SSRS report in Zoom mode using full page Width

Here are we found the solutions after the very much effort and with so many trial (RND):
Report Binding with pure .aspx page(asp.net)

        KeepSessionAlive="true"
         ZoomMode="PageWidth"  >
       
   

Here are the .aspx.cs

 protected void BindReport()
    {
        string urlReportServer = "http://localhost/ReportServer";
        myReportViewer.ProcessingMode = ProcessingMode.Remote; // ProcessingMode should be either Remote or Local
        myReportViewer.ServerReport.ReportServerUrl = new Uri(urlReportServer);
        myReportViewer.ServerReport.ReportPath = "/myReportFolder/myReport"; //here the Report Path  
        myReportViewer.ServerReport.Refresh();
        myReportViewer.DataBind();
    }

Here are the few points you need to remember:

1. In Report Viewer we set  PromptAreaCollapsed to True to report parameter area in toggle state.
2. KeepSessionAlive to be set True, to set your asp session alive
3. ZoomMode to be set PageWidth to capture the full width area of the browser when report shows on Browser
4. If your report doesn't render properly on browser check your report viewer (which version you are using) if it is lower then update the new version of ReportViewer Control.
5. After updating the Report Viewer to latest Version, if report doesnt seems to work fine, facing the issue regarding the Indicator (most probably indicator does not render proper in table or matrix).So keep rectangle inside
   table cell and then Indicator withe proper alignment). I hope this solutions will work for you..

Comments