All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
In the design time, I set the CssClass property to "red"
After some event, I try to set it to "yellow", but it doesn't work. I tried: TxtAmount.CssClass = "yellow"; Also
TxtAmount.CssClass += TxtAmount.CssClass.Replace("red", "yellow"); plus other ways
<style type=
"text/css"
>
.redradnumTxtbox
{
background-color
:Red
!important
;
}
.yellowradnumTxtbox
:Yellow
</style>
<
telerik:RadNumericTextBox
ID
=
"RadNumericTextBox1"
runat
"server"
CssClass
"redradnumTxtbox"
</
protected
void
Button5_Click(
object
sender, EventArgs e)
//Do your task here
//Set the css class of RadNumeric Textbox
RadNumericTextBox1.CssClass =
"yellowradnumTxtbox"