My website features a validation summary control that displays the summary of various validation-required controls, all belonging to a specific validation group.
In addition, my submit button is also part of this same validation group, meaning it validates everything in the group upon being clicked.
The issue I'm facing involves setting the focus to the validation summary control after validation has occurred when the submit button is clicked. Instead of focusing on the validation summary, the page seems to scroll back to the top.
I want the focus to be directed to the validation summary control directly. How can I make this happen?
It's worth mentioning that using SetFocusOnError="true" did not provide the desired result.
Thank you for taking the time to read and assist with this issue.