|
-
Jul 30th, 2003, 08:10 AM
#1
Thread Starter
Junior Member
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!
-
Jul 31st, 2003, 08:13 AM
#2
Lively Member
Maybe your type is the problem...
ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskValidatingAgainstRangeOfValues.htm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|