I've got an ASP.NET webform with asp:TextBox
and asp:RequiredFieldValidator
at the bottom of the page. If client side validation fails on form submit - the page scrolls all the way up.
I'd like to maintain the scroll position on failed client-side validation.
I've found this solution, but it seems overly complex.
Any ideas?