Author: burdock1974 | Posted on: 9/15/2008 4:47:16 AM | Views : 298

Hi,

I have a series of form controls, some of which are enabled or disabled on the client-side, in response to radio buttons being toggled.

All of these form controls are linked to ASP.NET validation controls, and I need to also enable or disable the respective validators when the radios are toggled.

 I am using the following line of JavaScript to disable my validators:


ValidatorEnable(document.getElementById('rfvTest'),false)
 The problem is that when I when I enable them again (same line of code as above with boolean set to 'true'), the red validation asterisk appears next to the relevant form control....although I haven't placed the cursor in this form control, neither have I fired any control which causes page validation (I have set my radio buttons to 'causesvalidation=false').
I would be grateful for any advice how to prevent the asterisks from displaying at this time.
Many thanks! ...

Go to the complete details ...