none
How to get the Height of the ReportViewer-s document? RRS feed

  • Question

  • Hi. My ReportViewer localreport is a .rdlc file. I need to get the full Height of the document so I can set the RowDefinition height so that there will be no vertical scrollbar. For some reason the reportviewer.Heght is always 174 but then the scrollbar is present. If I sed the RowDefinition height to auto then I do not see the reportViewer at all
    Tuesday, April 5, 2011 8:03 AM

Answers

  • Try setting the ReportViewer.SizeToReportContent property to True.


    Cephas Lin This posting is provided "AS IS" with no warranties.
    • Marked as answer by GaiusBaltar Wednesday, April 6, 2011 8:57 AM
    Tuesday, April 5, 2011 5:31 PM
    Moderator