styles in custom controls

Discussion in 'ASP .Net Web Controls' started by Mariusz, Dec 10, 2004.

  1. Mariusz

    Mariusz Guest

    Hi,

    I'm creating custom control that has different items inside of it. I would
    like to be able to set styles of all the element types bu honestly I just
    don't know how to do this. I would like to be able to open styles editor -
    select some styles and then apply them to my item. Any idea how to do this?

    --
    Mariusz
     
    Mariusz, Dec 10, 2004
    #1
    1. Advertisements

  2. Mariusz

    Ashish Kaila Guest

    Most flexible way is to use CSS classes and CSS style sheets. For more info
    look at the sourcecode of my example at:
    http://codeproject.com/aspnet/aspnetoutlooktoolbar.asp
    HTH
    Ashish

    "Mariusz" <> wrote in message
    news:41b970c4$...
    > Hi,
    >
    > I'm creating custom control that has different items inside of it. I would
    > like to be able to set styles of all the element types bu honestly I just
    > don't know how to do this. I would like to be able to open styles editor -
    > select some styles and then apply them to my item. Any idea how to do

    this?
    >
    > --
    > Mariusz
    >
    >
     
    Ashish Kaila, Dec 19, 2004
    #2
    1. Advertisements

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. Axel Dahmen
    Replies:
    1
    Views:
    826
    Teemu Keiski
    Nov 12, 2003
  2. Dag
    Replies:
    5
    Views:
    625
    David Jessee
    May 8, 2004
  3. Sky Sigal
    Replies:
    2
    Views:
    543
    Sky Sigal
    Aug 9, 2004
  4. Logan
    Replies:
    2
    Views:
    495
    Dave Fancher
    Feb 1, 2005
  5. user
    Replies:
    1
    Views:
    566
    Kevin Spencer
    Jul 19, 2007
  6. rodchar
    Replies:
    0
    Views:
    608
    rodchar
    Nov 26, 2007
  7. anon
    Replies:
    0
    Views:
    320
  8. Remove inline styles from asp controls

    , Dec 20, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    236
Loading...