logo

Problems setting webform Report Viewer control height to 100%

on Thursday, August 31, 2006 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
reply


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

on Friday, September 01, 2006 2: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.)
reply

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

on Tuesday, September 05, 2006 1: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
reply

Hello Wei,How you test the page?

on Wednesday, September 06, 2006 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.)
reply

Hello Chris,I think this is that the Report Viewer Control rendered the HTML

on Friday, September 08, 2006 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
reply

Hi Chris excuse for the delay of my answer.1) Asp.Net 2.

andy6 posted on Wednesday, September 20, 2006 9: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
reply

 

Didn't Find The Answer You Were Looking For?

View SQL Server Reporting Services Posts   Ask A New Question

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum

If you have an OpenID and do not want to become a member of the EggHeadCafe forum, you can also sign on to Chat Chaos and post your question to our real time Silverlight chat application.
Ask Question In Chat Chaos

Previous SQL Server Reporting Services conversation.

SQL Server Compact Edition    SQL Server Clients    SQL Server Clustering    SQL Server Connect    SQL Server Data Mining    SQL Server Data Warehouse    SQL Server DTS    SQL Server FullText    SQL Server Integration Services    SQL Server MSDE    SQL Server New Users    SQL Server OLAP    SQL Server Programming    SQL Server Replication    SQL Server Reporting Services    SQL Server Security    SQL Server    SQL Server Setup    SQL Server Tools    SQL Server XML   






  $1000 Contest    [)ia6l0 iii - $231  |  Jonathan VH - $153  |  Huggy Bear - $133  |  egg egg - $100  |  F Cali - $93  |  more Advertise  |  Privacy  |   (c) 2010