apply CSS on literal control?

Discussion in 'ASP .Net' started by Jk, May 3, 2004.

  1. Jk

    Jk Guest

    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, May 3, 2004
    #1
    1. Advertising

  2. 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.
     
    Scott Mitchell [MVP], May 3, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer

    Re: How to apply CSS to entire application?

    Kevin Spencer, Oct 14, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    391
    Jerry III
    Oct 15, 2003
  2. =?Utf-8?B?bnN2a2V5YW4=?=

    how to apply css class style to web controls

    =?Utf-8?B?bnN2a2V5YW4=?=, Feb 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,686
    Chris Jackson
    Feb 20, 2004
  3. Stefan Siegl
    Replies:
    1
    Views:
    976
    Marrow
    Jul 18, 2003
  4. Andrew Meador
    Replies:
    1
    Views:
    1,471
    Andrew Meador
    Oct 13, 2009
  5. Anonieko Ramos

    What's wrong with rpc-literal? Why use doc-literal?

    Anonieko Ramos, Sep 27, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    391
    Anonieko Ramos
    Sep 27, 2004
Loading...

Share This Page