Jul 26, 2012, 8:09 AM
[CLOSED] NumberField gives null in postback if entered value equals MinValue
Hi,
We have a definition in our form for a number field:
We're using ExtJS 1.3.
Our workaround is to check if null than it must be the minvalue (as the maxvalue is postedback ok).
Can you check this out and fix for later versions?
We have a definition in our form for a number field:
<ext:NumberField ID="ChannelNumberBox" runat="server" FieldLabel="Channel Number" EnableKeyEvents="true" IsRemoteValidation="true" AllowBlank="false" AllowDecimals="false" AllowNegative="false" MaxValue="99999" MinValue="1" >
<RemoteValidation Url="ChannelServices.asmx/CheckChannelNumber" Json="true">
The number validation on client side works well but on PostBack, if the field value equals "1" (which is the MinValue) the text and value properties on the serverside show empty and null values appropriately.We're using ExtJS 1.3.
Our workaround is to check if null than it must be the minvalue (as the maxvalue is postedback ok).
Can you check this out and fix for later versions?
Last edited by Daniil; Jul 31, 2012 at 8:58 AM.
Reason: Please use [CODE] tags, [CLOSED]