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. Advertising

  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. 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. Sky Sigal
    Replies:
    2
    Views:
    410
    Sky Sigal
    Aug 9, 2004
  2. Logan
    Replies:
    2
    Views:
    343
    Dave Fancher
    Feb 1, 2005
  3. user
    Replies:
    1
    Views:
    421
    Kevin Spencer
    Jul 19, 2007
  4. rodchar
    Replies:
    0
    Views:
    379
    rodchar
    Nov 26, 2007
  5. Remove inline styles from asp controls

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

Share This Page