set rdlc report appear with full width of browser RRS feed

  • Question

  • User1182587605 posted

    I am working on RDLC reports and my report shows to be at the corner of the screen. Can there be any better visual for the routine display. How can I set its width to the full screen of the page.



    Tuesday, November 29, 2016 6:13 PM

All replies

  • User1724605321 posted

    Hi acmedeepak ,

    Try to set ReportViewer1 attribute :

                ReportViewer1.AsyncRendering = false;
                ReportViewer1.SizeToReportContent = true;
                ReportViewer1.ZoomMode = ZoomMode.FullPage;

    Also try below solution directly set in front :

    <div style="Width:auto;"> 
    <form id="form1" runat="server" style="width:100%; height:100%;">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        <rsweb:ReportViewer ID="rptViewer" runat="server" Width="100%" Height="100%" AsyncRendering="False" SizeToReportContent="True">

    Best Regards,

    Nan Yu

    Wednesday, November 30, 2016 8:27 AM