I have a textbox within a repeater...
In my clientUpsellChanges function, I change its' class if there is an error.
This all works fine, but I'm finding that the error class gets removed as soon as you mouseover the box. Why is this? How do I prevent it?
<rad:RadNumericTextBox ID="radNumQty" runat="server" CssClass="txtbox" Width="40px" IncrementSettings-Step="1" MinValue="1" MaxValue="9999999" MaxLength="7" NumberFormat-DecimalDigits="0" ClientEvents-OnValueChanging="clientUpsellChanges"></rad:RadNumericTextBox>In my clientUpsellChanges function, I change its' class if there is an error.
if (intQtyError != 0) {// Toggle css on field with errorvar radQtyBox = $find(arrExtraItemFields[0]);radQtyBox.TextBoxElement.className = "txtboxerror";}This all works fine, but I'm finding that the error class gets removed as soon as you mouseover the box. Why is this? How do I prevent it?