i Had used

txtField1.FieldCls="cssRequired"; // Color changed to Red
in c# Ext.NET
but it did not worked.

when i used

txtField1.AddCls("cssRequired");

The FieldLabel Color Is Changing.


But My Requirement is To change the backgroung color of the textField