ReportViewer Control - Height issue

后端 未结 13 995
南笙
南笙 2021-01-31 09:10

In my asp.net application, I am trying to open a particular report. I have the ReportViewer Control set with width of 100% and height of 100%. Now I expect that to mean that t

相关标签:
13条回答
  • 2021-01-31 09:53

    I had the same problem with ReportViewer 11.0 and what did the trick for me was to set

    Height="100%" 
    SizeToReportContent="true"
    
    while keeping 
    
    AsyncRendering="true"
    

    Eg

    <rsweb:ReportViewer ID="reportControl" runat="server" Width="750" Height="100%" AsyncRendering="true" SizeToReportContent="true">
    

    This actually generated a table with height="100%" for the control.

    0 讨论(0)
提交回复
热议问题