Dynamicly change ValueToCompare on a CompareValidator

H

Henke

Hi!
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;
Page_ClientValidate();

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?

Thanks!
/Henke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,123
Latest member
Layne6498
Top