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

Change skin of Tabstrip using javascript

1 Answer 82 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
m chotu
Top achievements
Rank 1
m chotu asked on 17 Dec 2009, 05:07 PM
I have a tabstrip on an .aspx page.  I have created a custom skin for this and set it during design time.  But during runtime, when the user clicks on a button on the page, I want to change the skin.  I want to do this in javascript. Right now, I am using javascript to change the background color of the tabstrip.  But the currently selected tab's background is not getting changed to the color of the background.  Could you please help?

Thanks,

MS

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 17 Dec 2009, 06:20 PM
The skins are created on the server so I'm pretty sure you have to set the skin via server-side code. If you are looking to simply change the CSS of certain elements through javascript keep in mind that all of Telerik's skins use CSS Sprite Sheets, and therefore use images. If you want to change something by simply setting the HEX-value of a color you will have to use a skin that does not use sprite sheets.
Tags
TabStrip
Asked by
m chotu
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or