title: control names in a custom validator .NET Client Side Validation
body: <p>I have a gridview with three columns of textboxes. It can have as many rows as necessary but its usually only about 5 rows. Each row needs to be validated.</p>
  
  <p>I want to create a client side validator that sums 2 of the columns together and compares it with the third column to check that the user has entered the data correctly.</p>
  
  <p>Just in case you are wondering, it's part of the spec that the operator must enter the third column rather than simply summing the two previous columns together in the code behind. This is done to ensure the operator is transcribing the information correctly.</p>
  
  <p>I am trying to use the custom validator in .net to create this client side validation. but I can't find a way to pass to it the names of the three text boxes. 
  I can give it the target controls name using the ControlToValidate parameter, but how do I pass in the other two control id's ?</p>
  
  <p>I am looking for the 'proper' way to do this, one thought is to create an array in javascript referenced by the controltovalidate's name.</p>
  
  <p>DC</p>