0

Further to my question on disabling validators using javascript - Disable ASP.NET validators with JavaScript ...

Does anyone know how to pass through a gridview in javascript to dynamically disable the validators on each row. I now understand that I'll need to use ValidatorEnable(validatorControl, false) to disable each validator but how do I discover the validators in the first place?

Many thanks.

Community
  • 1
  • 1
Peanut
  • 18,967
  • 20
  • 72
  • 78

1 Answers1

1

You will have to drill down through the gridview and select the individual validators that way.

An excellent example of accessing a gridview with javascript can be found here

user50517
  • 26
  • 2