apply CSS on literal control?

  • Thread starter Thread starter Jk
  • Start date Start date
J

Jk

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
 
Jk said:
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...

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