Apr 25, 2012, 9:03 AM
[CLOSED] Adding css class to FieldLabel property in TextField and to input as well.
Hi,
I making dynamically ext.net control type of TextField and i need get diffrent css class that default
my code:
Regards
I making dynamically ext.net control type of TextField and i need get diffrent css class that default
my code:
TextField control = new TextField();
control.ID = "someID";
control.Listeners.AfterRender.Handler = " this.input.removeClass('x-form-text x-form-field').addClass('" + _viewValueCssClass + "');";// this not working properly
control.Listeners.AfterRender.Handler = "this.label.removeClass('x-form-item-label').addClass('someCssClass');";//label
am I doing something wrong?Regards
Last edited by Daniil; Apr 25, 2012 at 12:12 PM.
Reason: [CLOSED]