My page has ASP validations. When validation fails and error pop up is displayed, the page is scrolled down and the div container moves down.
How can I prevent this kind of behavior?
My page has ASP validations. When validation fails and error pop up is displayed, the page is scrolled down and the div container moves down.
How can I prevent this kind of behavior?
I found a simple solution here: Solution
This javascript code will do the trick: