Dynamic controls management in Skin files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fuhrer
    New Member
    • Dec 2006
    • 30

    Dynamic controls management in Skin files

    hi all,

    i have a asp.net menu in my skin file, i gave the menuitem a class :
    <StaticMenuItem Style CssClass="menu_ item" />

    but there is some conditions where i want the item cssclass to be "menu_item1 ",

    is there any possibility to change dynamically the cssclass within a Skin file??

    Thank you for your help
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    You should be able to access the CssClass property in your C# or VB.NET code.

    -Frinny

    Comment

    Working...