Comaprison Validator Not Working
-
I have to compare two text boxes having numeric value. the problem is that if one of the box is not having any thing and the other is having a value its not comparing the validator is not showing message
Regards
Try with required field validator also Both should be required then compare
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
I have to compare two text boxes having numeric value. the problem is that if one of the box is not having any thing and the other is having a value its not comparing the validator is not showing message
Regards
sabby2006 wrote:
the problem is that if one of the box is not having any thing and the other is having a value its not comparing the validator is not showing message
Off course It won't. If you are doing a comparision then you should provide the value, right?
- Regards -
JON
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
-
I have to compare two text boxes having numeric value. the problem is that if one of the box is not having any thing and the other is having a value its not comparing the validator is not showing message
Regards
If u want to compare two values Then It should be exists. So If u keep Both of Your Text box/inputs Mandatory Then YoU can Compare two values. In advance U can use Require field validator and additionaly u can use customevalidator for entering only numarics. And Change Ur Validator's Display Property To Dynamic.
Just Do IT™ [Information Technology]™ :->