Connecting Tech Pros Worldwide Help | Site Map

apply CSS on literal control?

Jk
Guest
 
Posts: n/a
#1: Nov 18 '05
Hello

I use Microsoft Office Webcomponents to create a pivottable and display the
output as HTML on a literal control.

I need to apply a CSS to this literal control, because the HTML data is
already formatted by the OWC pivottable object...

(simplified) code:

MyLiteralcontrol.text = MyOWCPivottable.HTMLData

The pivottable displays, but doesn't look the way I like it (font, borders
etc)

Any suggestions on how to do this?

Thanks,

Joost


Scott Mitchell [MVP]
Guest
 
Posts: n/a
#2: Nov 18 '05

re: apply CSS on literal control?


Jk wrote:[color=blue]
> I use Microsoft Office Webcomponents to create a pivottable and display the
> output as HTML on a literal control.
>
> I need to apply a CSS to this literal control, because the HTML data is
> already formatted by the OWC pivottable object...[/color]

Can you have this displayed in a Label control instead? The Label
control has properties for specifying CSS information. Font, ForeColor,
CssClass, etc.
Closed Thread