Results 1 to 2 of 2

Thread: What is wrong with this?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2003
    Posts
    19

    Unhappy 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!

  2. #2
    Lively Member
    Join Date
    Sep 2002
    Location
    Belgium
    Posts
    99
    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
  •  



Click Here to Expand Forum to Full Width