M
MattB
I have a page with dual controls for a person to enter their height and
weight. The dual controls are for English and metric units, and
Javascript onChange events handle populating the other control when one
if filled. This works well.
I also have some asp.net validation controls to make sure the values
entered are within certain limits. The problem I'm having is that if I
fill in my weight in the Lbs. TextBox, the Javascript fires and fills
the kg TextBox, but the range validator on the kg TextBox doesn't see
that the field has changed and displays it's error message.
Is there any way to "tell" the validator the text has changed via client
script?
Is there any other simple fix for this besides writing my own validator?
Thanks!
Matt
weight. The dual controls are for English and metric units, and
Javascript onChange events handle populating the other control when one
if filled. This works well.
I also have some asp.net validation controls to make sure the values
entered are within certain limits. The problem I'm having is that if I
fill in my weight in the Lbs. TextBox, the Javascript fires and fills
the kg TextBox, but the range validator on the kg TextBox doesn't see
that the field has changed and displays it's error message.
Is there any way to "tell" the validator the text has changed via client
script?
Is there any other simple fix for this besides writing my own validator?
Thanks!
Matt