Hi,
I am using a rad org chart.
Basically I want to apply certain CSS styles based on a condition.
I have figured out how to just override a css styles:
.rocToolbar_Metro .rocToolbarButton { background-color: #32b330 !important;}But I can’t figure out how to do this conditionally via the code behind, so saying if condition == 1 then apply this:
.rocToolbar_Metro .rocToolbarButton { background-color: #32b330 !important;}Else apply this:
.rocToolbar_Metro .rocToolbarButton { background-color: #25a0da !important;}I am planning to do this within the NodeDataBound event. Any suggestions appreciated.
Thanks.
