Hello,
We are using aspnet report viewer.
However we have some difficulties to auto size the viewer to fit content of the browser when it is resized by end user.
I can successfully auto size on the width using CSS and width = 100% but not the height.
Is there anyway to auto size the viewer height and width to fit content of the browser?
Here is the code:
Width of the viewer can resize to fit the with of the browser, but it doesn't work for the height.
Thanks for your help
Regards
Joël
We are using aspnet report viewer.
However we have some difficulties to auto size the viewer to fit content of the browser when it is resized by end user.
I can successfully auto size on the width using CSS and width = 100% but not the height.
Is there anyway to auto size the viewer height and width to fit content of the browser?
Here is the code:
<form id="ReportManagement" runat="server" style="width: 100%">
<div id="content" >
<telerik:ReportViewer ID="ReportManagementViewer" runat="server"
Width="100%" ViewMode="PrintPreview" Height="690px"
ParametersAreaVisible="False" ShowParametersButton="False"
ShowDocumentMapButton="False" ShowPrintPreviewButton="False"
ZoomPercent="200" ShowZoomSelect="False" ShowHistoryButtons="False">
</telerik:ReportViewer>
</div>
</form>
Width of the viewer can resize to fit the with of the browser, but it doesn't work for the height.
Thanks for your help
Regards
Joël