-
What is wrong with this?
I am working with the range validatorcontrol and my code is like below.
<asp:textbox id="text1" runat="server" text="text1" />
<asp:rangevalidator id="valid1" runat="server" controltovalidate= "text1" minimumvalue="10" maximumvalue="100" errormessage= "Value out of range" />
when I entered '10' or '100' then I am not getting any errormessage. For all the remaining values, even for values between 10 and 100 I am getting error message. Since it is a range validator control, I taught the control will allow values between 10 and 100.
Am I wrong?
Thanks!
-
Maybe your type is the problem...
ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskValidatingAgainstRangeOfValues.htm