Why SetFocusOnError property is used for a validation control?

 Posted by Tripati_tutu on 11/11/2010 | Category: ASP.NET Interview questions | Views: 4367 | Points: 40

With the help of this property, you can specify the focus whether that is automatically set to the control specified by the ControlToValidate property or not or else by using the focus feature, the validators can be configured to set focus to their associated control to be validated when a validation error occurs. It will set when the validation control unable to validate. It allows us to update the appropriate control present in the control property. It will always move focus back to the field with the error after you tab out and an error occurs.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response