473,796 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help: RangeValidator Not Working!

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 validators a control called CampaignID. In the debugger
I've verified there is a control called CampaignID and there is a valid set
.... however the RangeValidator still returns not valid.

Does anyone know why on both the client side and server side the range
validator is returning not valid?

--
Lucas Tam (RE********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #1
2 4394
Lucas Tam <RE********@rog ers.com> wrote in
news:Xn******** *************** ****@140.99.99. 130:
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 validators a control called CampaignID. In the
debugger I've verified there is a control called CampaignID and there
is a valid set ... however the RangeValidator still returns not valid.

Does anyone know why on both the client side and server side the range
validator is returning not valid?

I think I figured out why...

I set my maximum value of the range validator to 2^32 = 4294967296
(basically just checking to see if the value is > 0)... but it seem that
4294967296 is too large for the validator and throws a false everytime.
--
Lucas Tam (RE********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #2
Maybe you didn't define the validator correctly. Can you give the validator
definition, you use in your code?

"Lucas Tam" wrote:
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 validators a control called CampaignID. In the debugger
I've verified there is a control called CampaignID and there is a valid set
.... however the RangeValidator still returns not valid.

Does anyone know why on both the client side and server side the range
validator is returning not valid?

--
Lucas Tam (RE********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 19 '05 #3

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

Similar topics

2
1871
by: Glenn | last post by:
Dynamic help topic links show properly and search brings up links, but when any link is clicked I receive a "Page Cannot be displayed message in the Explorer window and the title bar of Visual Studio reports that it cannot find server. What server is this? The start page works fine going to the internet and my normal Internet Explorer is working fine. VS 2003 v. 7.1.3044 Framework v. 1.1.4322 -- Thanks for any help, suggestions before...
3
1253
by: Woody Splawn | last post by:
For reasons I have not yet identified my Help, Search and Help, Index has quit working. That is, in the VB IDE, from the Help menu, I can select Dynamic help or Contents and things work as expected. But when I select Index or Search, the tabs appear but when I click on the Search or Index tab nothing happens. Anyone have any idea what's going on?
1
1180
by: Colin | last post by:
Hi there. I have just got a new website. I have some VB.Net code that reads a text file. This works on my home computer. When I upload it to my website I need to know the path. <?php echo $_SERVER; ?> If I put the php file above (test.php) in the htdocs directory and navigate to http://www.mydomain.co.uk/test.php it tells me the path and
3
1153
by: chrisjob012 | last post by:
hi guys... need some help....!! i am working on a form that looks like a calender....!!... in that form i have added a group box....!! during runtime 30 labels are inserted in it to look like a month display and the labels are added as control arrays........thats working almost fine.... but i would like to have context menu appear in these labels... i was trying to give the user an option like this when he right clicks.... add holiday,...
0
915
by: mrainey | last post by:
My server data is as follows:- PHP Version: 4.4.4 MySQL Version: 5.0.26-standard Server Software: Apache/2.0.55 (Red Hat) the website will not install when you type in the install.php the page comes up to start the process but when you fill in the infomation and click submit the page resets and does move on. can you help http://dating.mcrphotographers.co.uk is the temp site address i managed to install it manually but still got the...
5
1694
by: sesling | last post by:
I have a database field that stores 8 and 9 digit values. I need to calculate the sum value using the first 8 digits. ex.of stored numbers 123456781 234567892 45678903 987654321 calculation should use 12345678 23456789
0
1048
by: Andrus | last post by:
I installed VCSE 2008 I need to read help in places where internet connection available. Local help installed with C# 2005 Express is very incomplete. For example clicking DataContractSerializer or XmlObjectSerializer topics in ms-help://MS.VSCC.v90/MS.msdnexpress.v90.en/dv_linqsql/html/252ed666-0679-4eea-b71b-2f14117ef443.htm
13
1695
by: paragpdoke | last post by:
Hello Everyone. Merry Christmas to all ! I'm a JavaScript newbie (and new to thescripts.com too). And I have problems in working with objects in JavaScript. The problem: <a href="JavaScript:functionName(object);">Click me</a> Somehow it calls toString for the object and rather than it being processed as an object, it is processed as a string. Details: I'm trying to build a documentation UI (using VBA plugin mztools) and the objects I...
9
3031
by: mrcheeky | last post by:
Hi, I'm stuck, but it's almost working! From a html page, my javascript calls a server-side php script. The php reads a value from a server-side .txt file and passes it back as a javascript variable. This all works fine. However, I want it to loop within a javascript function every 5 seconds. The function does other stuff, so looping within this function is essential (I've simplified it in the example below). Any advice would be...
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9524
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9047
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.