title: Setting the ControlToValidate on a Validator
body: <p>I am currently re-writing a dynamic form based on database information.</p>
  
  <p>This form contains numerous 'Item Specific' properties, each of which has a single control and label, for example Category has a label that says "Category" and a DropDownList that contains all the options.</p>
  
  <p>The problem I now find is that each of these is added to the page by being created programatically based on some information from the database (Property name, options and tpye of property, such as text or dropdown), and each of these has at least one validator to ensure data entered in it is correct.</p>
  
  <p>This provides a problem: How can I set the ControlToValidate on the validators (Also created programatically) when I have each component to be validated as an object, not a static thing on the aspx?</p>