ReportViewer.Render html displays weird table layout

I am new to reporting services and find it difficult to get a report for rendering on my ASPX page.

It seems that no matter what I do with the report layout in the designer, the changes are ignored and the columns remain dry along with a large empty white space column to the right of it. Here is what I mean:

Reasonable widths on columns

Regardless of the fact that I change the width of the columns, it always looks like this:

Turd formatting

Looking at the markup, I see that a fixed width is applied, and the white space is TD with a width of 100%.

Here is the code I use / inherited:

result = rvDashlet.ServerReport.Render("HTML4.0", "<DeviceInfo><HTMLFragment>True</HTMLFragment></DeviceInfo>", out mimeType, out encoding, out extension, out streamids, out warnings);

The failure is that earlier this report was presented as an image that worked and looked great. I had to change it to HTML in order to add hyperlinks.

Any suggestions appreciated!

+1
2

2008 2005 , , .

+1

, SSRS 2005 reportviewer:

syncRendering="False" SizeToReportContent="True" Width="100%"

IE, TD, , , TD 100%.

TD - , Pdde6991e54b24a49a0a0b54433781b57oReportCell ", CSS:

td[id*='oReportCell'] {width:100% !important;}

, .

+4

All Articles