set validatorcontrol.setfocusonerror="true" for all validator controls in asp.net website

Posted by Rohit on Stack Overflow See other posts from Stack Overflow or by Rohit
Published on 2010-03-28T07:55:23Z Indexed on 2010/03/28 8:03 UTC
Read the original article Hit count: 245

Filed under:

We are about to release beta version of our website. Lately we have seen that developers have not set setfocusonerror on any of the validaor controls used.We have to set this property.

Now, one solution is to open every page and put this property in place. I am looking for some othe way like some configuration in web.config or some other quick solution.

I have usercontrols and pages. Page derive from base page.Please suggest.

© Stack Overflow or respective owner

Related posts about ASP.NET