Wednesday, March 28, 2012

ReportViewer and Stylesheets

Hi,
I am wanting to alter the look of the Report Viewer Control. I was under the
impression that the file: htmlviewer.css (located in: ReportServer\styles)
was the file to alter to achieve this.
Thing is that even when this css file is changed, there is no effect on the
visuals of the rendered control.
I have done a view source of the web page when it renders to look for clues
- I see a hint at the solution but I dont understand the exact details of
this link href statement.
<link href="http://links.10026.com/?link=?rs:Command=Get&rc:GetImage=8.00.878.00HtmlViewer.css"
type="text/css" rel="stylesheet" >
Any help would be appreciated, thanksShould have done that to start with 8^)
Seems that changes to htmlviewer.css wont show up when using report manager
but will when using your own web page eg:
http://localhost/ReportServer?%2fReports%2fBlankOne&rc:stylesheet=htmlviewersql

No comments:

Post a Comment