Problems setting webform Report Viewer control height to 100%

31-Aug-06 10:14 AM
SSRS 2005



I have an ASP.NET app using the Report Viewer control.



I would like the Report Viewer control to resize as the browser (web page)



is resized.



Setting <rsweb:ReportViewer ... Width="100%" ... </rsweb:ReportViewer>



controls the width as expected. As the page is made wider, the control



resizes.



However, when I use <rsweb:ReportViewer ... Height="100%" ...






report content does not appear. The toolbars appear, but the report content



does not.



I have to do something like <rsweb:ReportViewer ... Height="300px" ...






Is this a known problem?



Is there something I am overlooking, like is there another property I need



to set to get this to work? I cannot find any other property that looks like



it is related to this problem.



--



Chris, SSSI

Hello Chris,This is a XHTML artifact. If you remove the doctype in the asp.

01-Sep-06 02:06 AM
Hello Chris,



This is a XHTML artifact. If you remove the doctype in the asp.net page, it



will work.



Please remove the line <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0



Transitional//EN"






page.



Sincerely,



Wei Lu



Microsoft Online Community Support



==================================================



Get notification to my posts through email? Please refer to



http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif



ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues



where an initial response from the community or a Microsoft Support



Engineer within 1 business day is acceptable. Please note that each follow



up response may take approximately 2 business days as the support



professional working with you may need further investigation to reach the



most efficient resolution. The offering is not appropriate for situations



that require urgent, real-time or phone-based interactions or complex



project analysis and dump analysis issues. Issues of this nature are best



handled working with a dedicated Microsoft Support Engineer by contacting



Microsoft Customer Support Services (CSS) at



http://msdn.microsoft.com/subscriptions/support/default.aspx.



==================================================



(This posting is provided "AS IS", with no warranties, and confers no



rights.)

Hello Chris,How is everything going? Does my suggestion resolve your problem?

05-Sep-06 01:02 PM
Hello Chris,

How is everything going? Does my suggestion resolve your problem?

If you have any feedback, please feel free to let me know.

Sincerely,

Wei Lu

Microsoft Online Community Support

Hello Wei,How you test the page?

06-Sep-06 10:17 AM
Hello Wei,



How you test the page?



Would you please try to test on a simple page with only one report viewer



control on it?



Please remove the line and have the height to "100%" for the report viewer.



Sincerely,



Wei Lu



Microsoft Online Community Support



==================================================



Get notification to my posts through email? Please refer to



http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif



ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues



where an initial response from the community or a Microsoft Support



Engineer within 1 business day is acceptable. Please note that each follow



up response may take approximately 2 business days as the support



professional working with you may need further investigation to reach the



most efficient resolution. The offering is not appropriate for situations



that require urgent, real-time or phone-based interactions or complex



project analysis and dump analysis issues. Issues of this nature are best



handled working with a dedicated Microsoft Support Engineer by contacting



Microsoft Customer Support Services (CSS) at



http://msdn.microsoft.com/subscriptions/support/default.aspx.



==================================================



(This posting is provided "AS IS", with no warranties, and confers no



rights.)
Hello Chris,I think this is that the Report Viewer Control rendered the HTML
08-Sep-06 12:45 PM
Hello Chris,



I think this is that the Report Viewer Control rendered the HTML code does



not matc the XHTML artifact.



This issue is a known issue of the Report Viewer Control. I got this



workaround from the product team and they do not provide more detailed



information on this issue.



Anyway, I am glad to discuss more detail on this issue but since this is



relate the Report Viewer Control Code, I could not provide more detailed



information now. Thank you for your follow up.



Sincerely,



Wei Lu



Microsoft Online Community Support
Hi Chris excuse for the delay of my answer.1) Asp.Net 2.
Asked By andy6
20-Sep-06 09:43 AM
Hi Chris
excuse for the delay of my answer.
1) Asp.Net 2.0
2) No, I do not use master page!

andrea
--
andrea tiveron
director
e-metodi.it
rome
italy
Post Question To EggHeadCafe