[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 820
  • Last Modified:

Microsoft Reporting Report Viewer size to content

In my report viewer I have the SizeToReportContent property set to true, however, only some of the reports are sized to the content.  Others still are cut off.  Any ideas why this is?  I also have ASyncRendering set to False.
0
melli111
Asked:
melli111
1 Solution
 
PJBXCommented:
On page load, try:
protected void Page_Load(object sender, EventArgs e)
        {
            ReportViewer1.AsyncRendering = false;
            ReportViewer1.SizeToReportContent = true;
            ReportViewer1.ZoomMode = ZoomMode.FullPage;
        }
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now