Last post Nov 30, 2016 08:27 AM by Nan Yu
Member
168 Points
497 Posts
Nov 29, 2016 06:13 PM|acmedeepak|LINK
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.
Reards,
Deepak
All-Star
18815 Points
3831 Posts
Nov 30, 2016 08:27 AM|Nan Yu|LINK
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"> </asp:ScriptManager> <rsweb:ReportViewer ID="rptViewer" runat="server" Width="100%" Height="100%" AsyncRendering="False" SizeToReportContent="True"> </rsweb:ReportViewer> </form></div>
Best Regards,
Nan Yu
Member
168 Points
497 Posts
set rdlc report appear with full width of browser
Nov 29, 2016 06:13 PM|acmedeepak|LINK
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.
Reards,
Deepak
All-Star
18815 Points
3831 Posts
Re: set rdlc report appear with full width of browser
Nov 30, 2016 08:27 AM|Nan Yu|LINK
Hi acmedeepak ,
Try to set ReportViewer1 attribute :
Also try below solution directly set in front :
Best Regards,
Nan Yu