Changing skinId on custom control HELP!

Discussion in 'ASP .Net' started by V, Nov 4, 2006.

  1. V

    V Guest

    Hello!

    I made custom control with tables and labels in it.
    In my page I have several of these controls. Each one should have
    different color of tables etc.
    I have different SkinIDs for that.
    When my Default page loads I'd like to set SkinID for each of these
    controls.

    I understand that Page_PreInit should have this but I can't access my
    control's properties from there.
    I also know that control can't have PreInit, only Page.

    I spent last ten hours trying to get around this. I don't know what to
    do. HELP

    Thank you,
    Hrvoje
     
    V, Nov 4, 2006
    #1
    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. Replies:
    2
    Views:
    12,093
    nguyenxuancanh
    Apr 12, 2008
  2. shapper

    SkinId

    shapper, Sep 22, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    450
    shapper
    Sep 22, 2006
  3. WT

    SkinID not working for images

    WT, Feb 5, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    1,555
    Steven Cheng[MSFT]
    Feb 6, 2007
  4. WT
    Replies:
    14
    Views:
    602
    Walter Wang [MSFT]
    Jun 21, 2007
  5. Joey
    Replies:
    0
    Views:
    707
Loading...

Share This Page