This was a very strange problem I faced while debugging my application from Visual studio.
When I run the application, it appears in the browser fine but automatically scroll position jumps down to the bottom of the page after few seconds. This behavior was there in all browser like Chrome and Firefox. In Edge, the page was refreshing.
After much struggle, I figured out that it was because of the
'Browser Link' codes that appears at the last of the HTML source code when we run the application from Visual Studio. By default, it's setting in Visual Studio is on, so we can make it off by writing a appSettings in web.config file. Read more about it at
http://www.dotnetfunda.com/forums/show/22294/how-to-remove-the-browser-link-from-browser-while-debugging-in-visual The same can be done using Menu system as well.
When I disabled the Browser Link, everything was alright !
Regards,
Sheo Narayan
http://www.dotnetfunda.com