D
D. Shane Fowlkes
This seems simple enough but why can't I get it to check the input BETWEEN
the two ranges I specify? If I set the Min value to 1 and the Max to 10, it
will ONLY validate 1 OR 10....not 2 thru 9. Weird? I must be doing
something wrong.
TIA.
My test page:
http://www.drumpub.com/test.aspx
My code:
<form runat="server">
<asp:TextBox ID="txtQuantity" runat="server" MaxLength="5" Columns="5" />
<asp:RangeValidator ControlToValidate="txtQuantity" id="QuantityValidator"
runat="server" Font-Bold="true" Font-Size="10" MinimumValue="1"
MaximumValue="10">*Quantity must be between 1 and 10.</asp:RangeValidator>
<asp:Button ID="btnSubmit" runat="server" Text="I'm Done. Submit It." />
</form>
the two ranges I specify? If I set the Min value to 1 and the Max to 10, it
will ONLY validate 1 OR 10....not 2 thru 9. Weird? I must be doing
something wrong.
TIA.
My test page:
http://www.drumpub.com/test.aspx
My code:
<form runat="server">
<asp:TextBox ID="txtQuantity" runat="server" MaxLength="5" Columns="5" />
<asp:RangeValidator ControlToValidate="txtQuantity" id="QuantityValidator"
runat="server" Font-Bold="true" Font-Size="10" MinimumValue="1"
MaximumValue="10">*Quantity must be between 1 and 10.</asp:RangeValidator>
<asp:Button ID="btnSubmit" runat="server" Text="I'm Done. Submit It." />
</form>