How to disable one required field vaildator
-
I have some scenario of option button.. suppose Gender Male /Female if User select Male then one textbox to validate and if user select female then nothing to validate.but in my case it is running no matter which option button is selected. Can any one help me how to make the code for this condition. The Control should run on server side validation. I dont know how to get the solution of this.. Any Idea's ????
-
I have some scenario of option button.. suppose Gender Male /Female if User select Male then one textbox to validate and if user select female then nothing to validate.but in my case it is running no matter which option button is selected. Can any one help me how to make the code for this condition. The Control should run on server side validation. I dont know how to get the solution of this.. Any Idea's ????
Is posssible to set ValidationControl disabled. So make condition statement like
if(some condition) { Control.Enabled=false; } else { control.Enabled=true; }
-
Is posssible to set ValidationControl disabled. So make condition statement like
if(some condition) { Control.Enabled=false; } else { control.Enabled=true; }