Thank you for the response.
I did try that as evidenced in this code:
<table id="rptViewer" runat=server align=center width="100%"
height="100%">
<tr>
<td>
<rsweb:ReportViewer ID="ReportViewer1" runat="server"
Font-Names="Verdana" Font-Size="8pt" Height="95%" ProcessingMode="Remote"
Width="95%" ShowCredentialPrompts="true">
<ServerReport
ReportPath="/chartingtest/horizontalreport_large"
ReportServerUrl="http://localhost/reportserver" />
</rsweb:ReportViewer>
</td>
</tr>
</table>
As you can see I am using SQL Reporting Services ReportViewer control. With
this configuration, nothing is rendered within the reportviewer when I run
the application. From what I see, the ReportViewer is not accepting a
percenrtage width.
Any other ideas are greatly appreciated.
I have experienced the same difficulty. When the Height property of the
reportviewer control is set to a percentage, it appears that the report does
not display - only the toolbar and parameters. The width as a percentage
seems to work just fine.
Is this a bug in the ReportViewer control? Is there a workaround or fix?
Mike
> Thank you for the response.
>
[quoted text clipped - 36 lines]
> > > of the exposed SRS report scale properly when the size of the browser window
> > > is changed. Has anyone else come across or tried to solve this issue ?
Rajeev Karunakaran [MSFT] - 15 Dec 2005 03:18 GMT
Please see Question 14 in the FAQ: http://www.gotreportviewer.com/

Signature
Rajeev Karunakaran [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
>I have experienced the same difficulty. When the Height property of the
> reportviewer control is set to a percentage, it appears that the report
[quoted text clipped - 59 lines]
>> > > is changed. Has anyone else come across or tried to solve this issue
>> > > ?
Michael R - 12 Jan 2006 01:04 GMT
I added the following code to my body tag - and it worked!!! The
reportviewer control acts as if the height were set to 100% (give or take,
based on what you subtract from the 'clientHeight'). I also added the script
to the onload event, so my report will always be the correct height.
<body
onresize="javascript:document.getElementById('ReportViewer1').style.height =
document.documentElement.clientHeight - 100;">
hope this helps. Enjoy!
Mike Rainey
> I have experienced the same difficulty. When the Height property of the
> reportviewer control is set to a percentage, it appears that the report does
[quoted text clipped - 45 lines]
> > > > of the exposed SRS report scale properly when the size of the browser window
> > > > is changed. Has anyone else come across or tried to solve this issue ?
thejez - 20 Jan 2006 14:59 GMT
I have the same issue with the control not recognizing height. I am going to
submit it as a bug even though this workaround *may* work its very kludgey
and the bug should be fixed (or else and explanation should be made here by
MS).
> I added the following code to my body tag - and it worked!!! The
> reportviewer control acts as if the height were set to 100% (give or take,
[quoted text clipped - 58 lines]
> > > > > of the exposed SRS report scale properly when the size of the browser window
> > > > > is changed. Has anyone else come across or tried to solve this issue ?
Raghu - 31 Jan 2006 21:50 GMT
Try removing the code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> at the top of the aspx
page.
I too had the same issue, but was able to fix it by deleting the above
code in my aspx page that hosted the reportviewer control.