I have a RadTabStrip and I am adding the RadTabs dynamically. As I am creating these RadTabs, one of the properties I would like to set is a background image. Is it possible to do this?
I have tried creating multiple TabStripStates.png files ( a default, then a TabStripStates_Red.png). My thinking was that as I create these new tabs, I could just set the tab.CSSClass to a css that I have defined that points to this file :
For example : In my code behind as I create the tab : tab.CSSClass = "red";
In the css that I have defined :
I have tried creating multiple TabStripStates.png files ( a default, then a TabStripStates_Red.png). My thinking was that as I create these new tabs, I could just set the tab.CSSClass to a css that I have defined that points to this file :
For example : In my code behind as I create the tab : tab.CSSClass = "red";
In the css that I have defined :
.tabstrip .red .rtsLink,
.tabstrip .red .rtsOut { background-image: url('TabStrip/TabStripStates_Red.png'); }
What I am not understanding is if I am just missing something, or if this is not the correct way to do this. Any help on dynamically setting the background image would be greatly appreciated.
Thank you