I need to change the css element with C# on the server side, how do I do
that?
I need to change the following:
.reportviewercss
{
display: inline;
}
to
.reportviewercss
{
display: none;
}
Matthijs Krempel - 09 Apr 2008 14:50 GMT
Hi Peter,
Put the style in your HTML, that will override the stylesheet.
With kind regards,
Matthijs Krempel
> I need to change the css element with C# on the server side, how do I do
> that?
[quoted text clipped - 12 lines]
> display: none;
> }
Eliyahu Goldin - 09 Apr 2008 14:51 GMT
Much more standard solution would be to change the css class for the
elements from reportviewercss to reportviewerhiddencss.
.reportviewerhiddencss
{
display: none;
}

Signature
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
>I need to change the css element with C# on the server side, how do I do
>that?
[quoted text clipped - 12 lines]
> display: none;
> }
Peter - 09 Apr 2008 19:48 GMT
Thank You
I always try to go with standards first and I already know how to change the
css class so I will that route.
> Much more standard solution would be to change the css class for the
> elements from reportviewercss to reportviewerhiddencss.
[quoted text clipped - 20 lines]
>> display: none;
>> }
Juan T. Llibre - 09 Apr 2008 21:48 GMT
re:
!> I always try to go with standards first
You're going to love IE 8.0, then.
Microsoft is planning on releasing IE8 in full standards mode.
( It was about time, too...)
Here's the link to the IE 8.0 beta :
https://www.microsoft.com/windows/products/winfamily/ie/ie8/default.mspx
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> Thank You
>
[quoted text clipped - 23 lines]
>>> display: none;
>>> }