Hi,
I just discovered that RadComboBox sends the Text and not the Value to the RequiredFieldValidator. This means I had to write a custom validator for RadComboBox. This is fine for server-side but for the ClientValidationFunction I have a problem. I have it working, but the ClientValidationFunction is also called when the RadComboBox OnClientSelectedIndexChanging event is fired. This causes it to be validated before the selected index is set and so produce an incorrect validation result.
How can I prevent the OnClientSelectedIndexChanging event from causing the ClientValidationFunction to fire?
Thanks.
I just discovered that RadComboBox sends the Text and not the Value to the RequiredFieldValidator. This means I had to write a custom validator for RadComboBox. This is fine for server-side but for the ClientValidationFunction I have a problem. I have it working, but the ClientValidationFunction is also called when the RadComboBox OnClientSelectedIndexChanging event is fired. This causes it to be validated before the selected index is set and so produce an incorrect validation result.
How can I prevent the OnClientSelectedIndexChanging event from causing the ClientValidationFunction to fire?
Thanks.