Reputation: 88
I apply my css class:
.InvalidControl
{
background-color:lightcoral;
}
to DOM element of Telerik's control (it is input type = "text" actually) with jQuery
$(inputObjectDOM).addClass(this.InvalidControlCssClassName);
This does not change background. When I open DOM explorer in IE I see my background-color styled crossed out. If I apply this css background-color property directly it is showing. DOM explorer shows various (Telerik's own) classes applied on this element. How can I make my class to work first ? Thank you.
Upvotes: 1
Views: 71
Reputation: 1185
Can you try like this:
.InvalidControl
{
background-color:lightcoral !important;
}
Upvotes: 2