Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#50 Anthem control skin

open
nobody
None
5
2006-10-09
2006-10-09
Benny Halperin
No

How can I define skin for Anthem controls? When I
added an <anthem:Button... /> tag in the skin file for
instance the .NET runtime complained that the tag was
not recognized.

Discussion

  • Benny Halperin
    Benny Halperin
    2006-10-09

    • summary: Anthem.Net control skin --> Anthem control skin
     
  • Andy Miller
    Andy Miller
    2006-10-09

    Logged In: YES
    user_id=1245761

    Be sure to Register the Anthem controls in the skin file.
    For example,

    <%@ Register Assembly="Anthem" Namespace="Anthem"
    TagPrefix="anthem" %>
    <anthem:Button runat="server" ForeColor="Red" />

     
  • Logged In: NO

    you need to register the anthem tag at the top of the .skin
    file the same as you would register it in an aspx page.

    <%@ Register TagPrefix="Anthem" Assembly="Anthem"
    Namespace="Anthem" %>

    add that to the top of ya skin file and you'll be fine

    cheers

    Zan

     
  • Pieter Siegers
    Pieter Siegers
    2006-10-17

    Logged In: YES
    user_id=1067768

    You need to register the anthem dll in your skin file, if
    possible.