get Skin for Control

2 posts, 0 answers
  1. Paresh
    Paresh avatar
    11 posts
    Member since:
    Jan 2009

    Posted 29 Jan 2009 Link to this post

    i am setting setting skin for controls in web.config

    1   <appSettings>  
    2    <add key="Telerik.Skin" value="Office2007" />  
    3     <add key="Telerik.Grid.Skin" value="Office2007"  />  
    4     <add key="Telerik.TabStrip.Skin" value="Vista"  />  
    5   </appSettings> 

    i am not applying skin in aspx code.  i want get current skin name for particular control.
    currently i am getting skin name using ConfigurationManager class and couple of IF statement.
    is there any method or property available using which i can get skin name for any control ?


  2. Dimo
    Dimo avatar
    8406 posts

    Posted 29 Jan 2009 Link to this post

    Hi Paresh,

    I am afraid there is no such property. Please use the ConfigurationManager class.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top