ReportViewer Control - Height issue

后端 未结 13 1002
南笙
南笙 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

    
    

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

提交回复
热议问题