This is a migrated thread and some comments may be shown as answers.

get Skin for Control

1 Answer 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paresh
Top achievements
Rank 1
Paresh asked on 29 Jan 2009, 10:44 AM
Hi....
i am setting setting skin for controls in web.config

  <appSettings>  
   <add key="Telerik.Skin" value="Office2007" />  
    <add key="Telerik.Grid.Skin" value="Office2007"  />  
    <add key="Telerik.TabStrip.Skin" value="Vista"  />  
  </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 ?

Thanks,



1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 29 Jan 2009, 11:23 AM
Hi Paresh,

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

Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Paresh
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or