Jul 11, 2012, 10:03 AM
[CLOSED] NumberField SpinUp/down MaxLength
Hi,
SpinUp or SpinDown of NumberField doesn't respect MaxLength Value.
If I have this code:
But if I put this code:
I think this is a bug.
SpinUp or SpinDown of NumberField doesn't respect MaxLength Value.
If I have this code:
<ext:NumberField ID="txtValor" runat="server" FieldLabel="<%$ AppRecursos : sm_txt_valor %>"
Width="140" Hidden="true" LabelAlign="Top" EnforceMaxLength="true" MaxLength="15" />
When you type "999999999999999" and spin up the new value is 999999999999999 + 1 and new value maxLength is 16.But if I put this code:
<ext:NumberField ID="txtValor" runat="server" FieldLabel="<%$ AppRecursos : sm_txt_valor %>"
Width="140" Hidden="true" LabelAlign="Top" EnforceMaxLength="true" MaxLength="15" MaxValue="999999999999999" />
Works right.I think this is a bug.
Last edited by Daniil; Dec 27, 2012 at 9:00 AM.
Reason: [CLOSED]