ASP.Net validation summary causes page to jump to top

前端 未结 9 1066
时光说笑
时光说笑 2020-12-08 06:09

I have a simple form with a few required field validators and a validation summary control. When I submit the form, the client validation will cause the form to ju

9条回答
  •  感动是毒
    2020-12-08 07:08

    The page is going to jump to wherever your validation summary is. If you'd like it to stay near the bottom, move the validation summary down near the submit button.

    EDIT, you can also try turning the validation summary off.

提交回复
热议问题