Nov 09, 2011, 10:57 AM
MaxLength at codebehind doesn't work
Hi folks,
I'm applying this code:
Please can you help me?
Cheers!
I'm applying this code:
List<Field> fields = Ext.Net.Utilities.ControlUtils.FindControls<Field>(my_FormPanel as Control);
foreach (Field field in fields)
{
TextField o = field as TextField;
o.MaxLength = 3;
}
But at client side I can write a looooong phrase insted of 3 digits.Please can you help me?
Cheers!