Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Dynamicly change ValueToCompare on a CompareValidator

Thread Tools

Dynamicly change ValueToCompare on a CompareValidator

Posts: n/a
Is there a way to change the value of the ValueToCompare property at
runtime, on the client side that is?
I tried this:
compValidator.ValueToCompare = 1050;

Although the value gets changed on the compareValidator ,I know it by
alert(compValidator.CalueToCompare), the validation doesn't work.
It seams like it's the design time value that gets compared to.

Isn't it possible to change it dynamicly?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the geometry dynamicly with java3D Java 1 07-01-2008 11:35 AM
problem with arrays, trying to dynamicly change the background of tabs Leoa Javascript 4 09-06-2007 09:55 PM
How to change the background image dynamicly? EMW ASP .Net 2 11-07-2005 07:58 AM
CompareValidator and Autopostback =?Utf-8?B?ZG90bmV0IGJlZ2lubmVy?= ASP .Net 0 04-13-2004 02:56 PM
Ivoking comparevalidator Sjaakie Helderhorst ASP .Net 0 02-25-2004 11:25 AM