Posts Tagged 'Report Viewer Control 2010'

Report Viewer Control 2010 – Setting height to browser window across multiple browsers

When you add a Report Viewer control to your Asp.Net site the height will default to 400 pixels. In many situations you want the control to automatically fill to either the browser window or at least its containing block element. Setting it to 100% works for width but will not work for height. This is down to the DOCTYPE of the web page specifying XHTML and 100% height for the table is an illegal attribute.

Continue reading ‘Report Viewer Control 2010 – Setting height to browser window across multiple browsers’