By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,510 Members | 1,821 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,510 IT Pros & Developers. It's quick & easy.

apply CSS on literal control?

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Jk wrote:
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.
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.