I'm working on a custom that uses ValidatorEnable(val,enable) as a way to avoid multiple postbacks for a number of checkboxes to accomplish the enable/disable & show/hide that either make a div visible or not and some that enable textboxes and validation when checked and disable it when not checked. I'm also using ClientIDMode="Static" on both the form controls and validators in an attempt to keep the id's of the controls simple.
At present I'm including the jQuery used to do all of this directly in the page at the bottom of the main content pane for the initial testing and plan to move it out to a file once I have the kinks worked out. I'm getting a RequiredFieldValidatorId undefined error and I'm not sure if it has to do with the fact that the page uses a masterpage or not.
Is there a better way to accomplish this without having to use ValidatorEnable()