Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
RequiredFieldValidator where ControlToValidate is inside a WebTab
posted

I've got an issue where i've got a number of controls inside an UltraWebTab control.

Players:

  • UltraWebTab within asp.net form & multiple tabs
  • RequiredFieldValidator controls outside the UltraWebTab

Scenario:

 Amidst the multiple tabs there are controls which need to be validated upon postback. I had initially put the respective validators within the tabs that the controls to validate were located, however without an easy way to alert the user that specific tabs had invalid data, I opted to put the validators outside the UltraWebTab, where the user would be able to see all of the problems without clicking through each tab.

However, when I move the validators outside the webtab, the page won't load because the ControlToValidate cannot be found on the page. Any ideas?