Validation Control Error
-
Dear all, I have a submit button, two dropdown list, one textbox and some check boxes. I want to validate the form. The problem is I used javascript function for validating check boxes and validation control for rest of the controls. I add button.attribute.add() for adding javascript. But at the same time they are not working. only javascript function is working ,validation control not working. If i comment button.attibutes.add() function then only validation controls working. I want to work both valiadtion control and javascript function at client side. Please suggest any option Thanking You BInu Varghese
-
Dear all, I have a submit button, two dropdown list, one textbox and some check boxes. I want to validate the form. The problem is I used javascript function for validating check boxes and validation control for rest of the controls. I add button.attribute.add() for adding javascript. But at the same time they are not working. only javascript function is working ,validation control not working. If i comment button.attibutes.add() function then only validation controls working. I want to work both valiadtion control and javascript function at client side. Please suggest any option Thanking You BInu Varghese
Hi, The validators used in .NET are client side validators. And javascript is rendered for all the validators that you use in your project. But, if you add both , you can. Give me the code, I'll try to help you out Thanks, Sushant Duggal.