Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

set focus to validationsummary control after validation occurs

have a validationsummary control which displays the summary of a few validationrequired controls and all of them belong to a validationgroup.

My submit button also has the same validationgroup so it validates everything upon it being clicked.

The problem i am having is setting the focus to the validationsummary control after validation occurs when my submit button is clicked.

The focus goes to the top of my webform.

I need the focus to be put at the validationsummary control, anybody know how to do this?

Thanks!
[563 byte] By [clean] at [2007-11-11 8:08:11]