Monday, February 20, 2012

rc:StyleSheet Parameter... PLEASE HELP

I am trying to utlize the rc:Stylesheet parameter to alter the default header
look/feel so that it matches the rest of my site and reports (My
understanding when I read the SP1 readme file and other posts was that I can
use the rc:StyleSheet parameter to change the 'HTML viewer' area of a report
which is the area where the parameters are located). However, I am totally
confused because when I alter the styles in the htmlviewer.css style sheet it
does nothing to my reports. Also, when I create a new style sheet and point
to that using the rc:Stylesheet parameter, nothing changes on my reports.
For now I have the following questions:
1) Can I use the rc:Stylesheet property to alter the look/feel of the
header/parameter section of my reports?
2) If so, how do I go about doing this? I installed SP1, created a style
sheet called 'test.css' with the styles I wanted then pointed my report to
that style sheet using the 'rc:Stylesheet=test' command. Is this right/wrong?
3) If everything above is correct, then perhaps I didn't install the SP1
corretly (?). The version I am now running is: Microsoft SQL Server
Reporting Services Version 8.00.878.00.
Any information is greatly appreciated.If you right click in the parameters area and select view source, do you see
your style sheet embedded in the html? If not, do you see an error message
in the report server log file?
--
This posting is provided "AS IS" with no warranties, and confers no rights
"David Whitfield" <David Whitfield@.discussions.microsoft.com> wrote in
message news:DBE923B5-A9A4-46D0-AF1E-73C8E4F97CD3@.microsoft.com...
> I am trying to utlize the rc:Stylesheet parameter to alter the default
header
> look/feel so that it matches the rest of my site and reports (My
> understanding when I read the SP1 readme file and other posts was that I
can
> use the rc:StyleSheet parameter to change the 'HTML viewer' area of a
report
> which is the area where the parameters are located). However, I am
totally
> confused because when I alter the styles in the htmlviewer.css style sheet
it
> does nothing to my reports. Also, when I create a new style sheet and
point
> to that using the rc:Stylesheet parameter, nothing changes on my reports.
> For now I have the following questions:
> 1) Can I use the rc:Stylesheet property to alter the look/feel of the
> header/parameter section of my reports?
> 2) If so, how do I go about doing this? I installed SP1, created a style
> sheet called 'test.css' with the styles I wanted then pointed my report to
> that style sheet using the 'rc:Stylesheet=test' command. Is this
right/wrong?
> 3) If everything above is correct, then perhaps I didn't install the SP1
> corretly (?). The version I am now running is: Microsoft SQL Server
> Reporting Services Version 8.00.878.00.
> Any information is greatly appreciated.|||The link to the htmlviewer.css file is a link to a stylesheet embedded in
the report server dlls. It the one used by default. The file placed in the
styles directory is identical to the embedded stylesheet and provided as
template for modifying things.
You can check the log file for errors by trying your URL and checking the
latest ReportServer*.log file in the \Program Files\Microsoft Sql
Server\MSSQL\Reporting Services\LogFiles.
Also, just to make sure, your URL is pointing at the report server, not the
Report Manager, right? It should be http://localhost/reportserver/... not
http://localhost/reports/...
--
This posting is provided "AS IS" with no warranties, and confers no rights
"David Whitfield" <DavidWhitfield@.discussions.microsoft.com> wrote in
message news:ED9BC075-5E82-4035-9E81-39DAC2DC068A@.microsoft.com...
> Correction to my last post and a better response to your questions...
> 1) No, I don't see a reference to the test.css file that I am trying to
> reference in the HTML.
> 2) I'm sorry, but I do not know how to check the log file. I will try to
> find out but any information you can give is appreciated.
> Thank you.
> "Brian Hartman [MSFT]" wrote:
> > If you right click in the parameters area and select view source, do you
see
> > your style sheet embedded in the html? If not, do you see an error
message
> > in the report server log file?
> >
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
rights
> >
> > "David Whitfield" <David Whitfield@.discussions.microsoft.com> wrote in
> > message news:DBE923B5-A9A4-46D0-AF1E-73C8E4F97CD3@.microsoft.com...
> > > I am trying to utlize the rc:Stylesheet parameter to alter the default
> > header
> > > look/feel so that it matches the rest of my site and reports (My
> > > understanding when I read the SP1 readme file and other posts was that
I
> > can
> > > use the rc:StyleSheet parameter to change the 'HTML viewer' area of a
> > report
> > > which is the area where the parameters are located). However, I am
> > totally
> > > confused because when I alter the styles in the htmlviewer.css style
sheet
> > it
> > > does nothing to my reports. Also, when I create a new style sheet and
> > point
> > > to that using the rc:Stylesheet parameter, nothing changes on my
reports.
> > >
> > > For now I have the following questions:
> > > 1) Can I use the rc:Stylesheet property to alter the look/feel of the
> > > header/parameter section of my reports?
> > > 2) If so, how do I go about doing this? I installed SP1, created a
style
> > > sheet called 'test.css' with the styles I wanted then pointed my
report to
> > > that style sheet using the 'rc:Stylesheet=test' command. Is this
> > right/wrong?
> > > 3) If everything above is correct, then perhaps I didn't install the
SP1
> > > corretly (?). The version I am now running is: Microsoft SQL Server
> > > Reporting Services Version 8.00.878.00.
> > >
> > > Any information is greatly appreciated.
> >
> >
> >|||I do see a reference to the htmlviewer style sheet as follows:
<link href="http://links.10026.com/?link=?rs:Command=Get&rc:GetImage=8.00.878.00HtmlViewer.css"
type="text/css" rel="stylesheet" >
Does this mean the page is referencing the htmlviewer style sheet and if so,
why am I able to delete that style sheet without any effect on the page?
"Brian Hartman [MSFT]" wrote:
> If you right click in the parameters area and select view source, do you see
> your style sheet embedded in the html? If not, do you see an error message
> in the report server log file?
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> "David Whitfield" <David Whitfield@.discussions.microsoft.com> wrote in
> message news:DBE923B5-A9A4-46D0-AF1E-73C8E4F97CD3@.microsoft.com...
> > I am trying to utlize the rc:Stylesheet parameter to alter the default
> header
> > look/feel so that it matches the rest of my site and reports (My
> > understanding when I read the SP1 readme file and other posts was that I
> can
> > use the rc:StyleSheet parameter to change the 'HTML viewer' area of a
> report
> > which is the area where the parameters are located). However, I am
> totally
> > confused because when I alter the styles in the htmlviewer.css style sheet
> it
> > does nothing to my reports. Also, when I create a new style sheet and
> point
> > to that using the rc:Stylesheet parameter, nothing changes on my reports.
> >
> > For now I have the following questions:
> > 1) Can I use the rc:Stylesheet property to alter the look/feel of the
> > header/parameter section of my reports?
> > 2) If so, how do I go about doing this? I installed SP1, created a style
> > sheet called 'test.css' with the styles I wanted then pointed my report to
> > that style sheet using the 'rc:Stylesheet=test' command. Is this
> right/wrong?
> > 3) If everything above is correct, then perhaps I didn't install the SP1
> > corretly (?). The version I am now running is: Microsoft SQL Server
> > Reporting Services Version 8.00.878.00.
> >
> > Any information is greatly appreciated.
>
>|||Correction to my last post and a better response to your questions...
1) No, I don't see a reference to the test.css file that I am trying to
reference in the HTML.
2) I'm sorry, but I do not know how to check the log file. I will try to
find out but any information you can give is appreciated.
Thank you.
"Brian Hartman [MSFT]" wrote:
> If you right click in the parameters area and select view source, do you see
> your style sheet embedded in the html? If not, do you see an error message
> in the report server log file?
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> "David Whitfield" <David Whitfield@.discussions.microsoft.com> wrote in
> message news:DBE923B5-A9A4-46D0-AF1E-73C8E4F97CD3@.microsoft.com...
> > I am trying to utlize the rc:Stylesheet parameter to alter the default
> header
> > look/feel so that it matches the rest of my site and reports (My
> > understanding when I read the SP1 readme file and other posts was that I
> can
> > use the rc:StyleSheet parameter to change the 'HTML viewer' area of a
> report
> > which is the area where the parameters are located). However, I am
> totally
> > confused because when I alter the styles in the htmlviewer.css style sheet
> it
> > does nothing to my reports. Also, when I create a new style sheet and
> point
> > to that using the rc:Stylesheet parameter, nothing changes on my reports.
> >
> > For now I have the following questions:
> > 1) Can I use the rc:Stylesheet property to alter the look/feel of the
> > header/parameter section of my reports?
> > 2) If so, how do I go about doing this? I installed SP1, created a style
> > sheet called 'test.css' with the styles I wanted then pointed my report to
> > that style sheet using the 'rc:Stylesheet=test' command. Is this
> right/wrong?
> > 3) If everything above is correct, then perhaps I didn't install the SP1
> > corretly (?). The version I am now running is: Microsoft SQL Server
> > Reporting Services Version 8.00.878.00.
> >
> > Any information is greatly appreciated.
>
>|||That was the problem; I was not pointing to the report server.
Thank you!!
"Brian Hartman [MSFT]" wrote:
> The link to the htmlviewer.css file is a link to a stylesheet embedded in
> the report server dlls. It the one used by default. The file placed in the
> styles directory is identical to the embedded stylesheet and provided as
> template for modifying things.
> You can check the log file for errors by trying your URL and checking the
> latest ReportServer*.log file in the \Program Files\Microsoft Sql
> Server\MSSQL\Reporting Services\LogFiles.
> Also, just to make sure, your URL is pointing at the report server, not the
> Report Manager, right? It should be http://localhost/reportserver/... not
> http://localhost/reports/...
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> "David Whitfield" <DavidWhitfield@.discussions.microsoft.com> wrote in
> message news:ED9BC075-5E82-4035-9E81-39DAC2DC068A@.microsoft.com...
> > Correction to my last post and a better response to your questions...
> >
> > 1) No, I don't see a reference to the test.css file that I am trying to
> > reference in the HTML.
> > 2) I'm sorry, but I do not know how to check the log file. I will try to
> > find out but any information you can give is appreciated.
> >
> > Thank you.
> >
> > "Brian Hartman [MSFT]" wrote:
> >
> > > If you right click in the parameters area and select view source, do you
> see
> > > your style sheet embedded in the html? If not, do you see an error
> message
> > > in the report server log file?
> > >
> > > --
> > > This posting is provided "AS IS" with no warranties, and confers no
> rights
> > >
> > > "David Whitfield" <David Whitfield@.discussions.microsoft.com> wrote in
> > > message news:DBE923B5-A9A4-46D0-AF1E-73C8E4F97CD3@.microsoft.com...
> > > > I am trying to utlize the rc:Stylesheet parameter to alter the default
> > > header
> > > > look/feel so that it matches the rest of my site and reports (My
> > > > understanding when I read the SP1 readme file and other posts was that
> I
> > > can
> > > > use the rc:StyleSheet parameter to change the 'HTML viewer' area of a
> > > report
> > > > which is the area where the parameters are located). However, I am
> > > totally
> > > > confused because when I alter the styles in the htmlviewer.css style
> sheet
> > > it
> > > > does nothing to my reports. Also, when I create a new style sheet and
> > > point
> > > > to that using the rc:Stylesheet parameter, nothing changes on my
> reports.
> > > >
> > > > For now I have the following questions:
> > > > 1) Can I use the rc:Stylesheet property to alter the look/feel of the
> > > > header/parameter section of my reports?
> > > > 2) If so, how do I go about doing this? I installed SP1, created a
> style
> > > > sheet called 'test.css' with the styles I wanted then pointed my
> report to
> > > > that style sheet using the 'rc:Stylesheet=test' command. Is this
> > > right/wrong?
> > > > 3) If everything above is correct, then perhaps I didn't install the
> SP1
> > > > corretly (?). The version I am now running is: Microsoft SQL Server
> > > > Reporting Services Version 8.00.878.00.
> > > >
> > > > Any information is greatly appreciated.
> > >
> > >
> > >
>
>

No comments:

Post a Comment