473,320 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to use min/max value properties of RangeValidator?

What are they mean when using with (default) data type string? string length

Thanks,
Nov 18 '05 #1
2 2381
Hi

For min and max, normally youvalue should be beween min and max, that'
min <= yourvalue <= max
For string, the comparison is based on its Ascii value
So min and max should be refered to the string's Ascii value

Bin Song, MCP
Nov 18 '05 #2
Hi

I think it is not clearly to use min/max in a range validator for checking ASCII values instead of string length? How can I validate string length with existing validators

Thanks,
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: jk | last post by:
Looking through WebUIValidation.js, I discovered that the standard validators don't cater for non-numeric date formats (e.g. dd-MMM-yyyy) which I would like to do To keep code to a minimum, I...
2
by: Lucas Tam | last post by:
Hi all, I have a RangeValidator that is not working correctly - it is always returning a isValid = False. The Javascript is returning this as well as on the server side. My RangeValidator...
7
by: BobRoyAce | last post by:
Let's say I have a text box on a page in which a user is to enter a monetary amount and that I want to ensure that the user enters a value greater than or equal to a certain value that will be...
1
by: ad | last post by:
I use RangeValidator to validate a textbox from 1 to 5 But if the user left the TextBox empty, the RangeValidator take no action. Can RangeValidator Chek emtpy value?
1
by: COHENMARVIN | last post by:
I'm trying to get a rangevalidator to work. Normally this is easy, but here I'm trying to make the rangevalidator check a range that is from variables. Here is the code. Its simple, but it...
4
by: jpabich | last post by:
I have a range validator on my field to make sure it is a double. No matter what I put in the field, it always comes back false. Why? <asp:rangevalidator id="valgMessageMin" runat="server"...
0
by: landesjoe | last post by:
Hi, here's my problem in short: Text boxes in gridview don't seem to hold their value if the column's .Visible property is changed back and forth. I've got a form with a gridview populated from...
4
by: jiznena | last post by:
i wanna use RangeValidator but it always returns false,even i give the right numbers <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TextBox1" ...
1
by: Cirene | last post by:
I have a rangevalidator as follows... <asp:RangeValidator ID="RangeValidator4" runat="server" ControlToValidate="InvoicePriceTextBox" ErrorMessage="0-999999" MaximumValue="999999"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.