Jul 09, 2013, 5:37 PM
[CLOSED] NumberField only with positive values
Hi all,
When the minus key is pressed, the minus character appears, but when the minus key is pressed more than once, in any position of the NumberField, the minus character appears more than once. In my opinion, the minus character should appear only if the key is pressed in the first position of the text.
And if I set the MinValue to a number greater or equal than 0, there is a way to not show the minus character?
When the minus key is pressed, the minus character appears, but when the minus key is pressed more than once, in any position of the NumberField, the minus character appears more than once. In my opinion, the minus character should appear only if the key is pressed in the first position of the text.
And if I set the MinValue to a number greater or equal than 0, there is a way to not show the minus character?
<ext:NumberField ID="NumberField2" runat="server" FieldLabel="Test" MinValue="1"
MaxValue="100" AllowDecimals="false" Step="1" />
I already try using regex and MaskRe, but it's unsuccessfully.
Last edited by Baidaly; Jul 10, 2013 at 10:57 PM.
Reason: [CLOSED]