Hi,
I would like to use a CompareValidator on a RadNumericTextbox control (2012.2.904.40).
Everything is setup fine.
But it doesn't works as excepted, while debugging I see that there is a problem in the telerik JS method : ValidatorGetValue(val.controltovalidate).
This method contains :
ValidatorGetValue=function(a){
var b=document.getElementById(a);
if(typeof(b.RadInputValidationValue)=="string"){
return b.RadInputValidationValue;
}
else{
return ValidatorGetValue_Original(a);
}
}
In my case b.RadInputValidationValue is always an empty string even if there is some value inside, so typeof(b.RadInputValidationValue)=="string" is always true but always return and empty string, if I try in debugging ValidatorGetValue_Original(a) it returns me the right value !
I would like to use a CompareValidator on a RadNumericTextbox control (2012.2.904.40).
Everything is setup fine.
But it doesn't works as excepted, while debugging I see that there is a problem in the telerik JS method : ValidatorGetValue(val.controltovalidate).
This method contains :
ValidatorGetValue=function(a){
var b=document.getElementById(a);
if(typeof(b.RadInputValidationValue)=="string"){
return b.RadInputValidationValue;
}
else{
return ValidatorGetValue_Original(a);
}
}
In my case b.RadInputValidationValue is always an empty string even if there is some value inside, so typeof(b.RadInputValidationValue)=="string" is always true but always return and empty string, if I try in debugging ValidatorGetValue_Original(a) it returns me the right value !