Click here to Skip to main content
15,388,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am uing renge validater for inter 10 digit mobile no. is set maximum property=10 but it is not working and what should be maximum or minimum value
Posted
Comments
Sebastian T Xavier 26-Jun-12 2:47am
   
please do spell check
Sandeep Mewara 26-Jun-12 3:09am
   
Explain 'not working'. Share your effort and we will try to point the mistake.

1 solution

use this way.......it will work

VB
<asp:RangeValidator
ControlToValidate="tbox1"
MinimumValue="1"
MaximumValue="100"
Type="Integer"
EnableClientScript="false"
Text="The value must be from 1 to 100!"
runat="server" />
   
Comments
mohdniyaz169 26-Jun-12 3:06am
   
not working

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900