asp.net - How to set starting point for a webpage in C# -


my question how set starting point webpage when loaded. have information in content placeholder, when form containing content placeholder loaded instead of displaying information in content placeholder goes top , have scroll down every time. there way can make content place holder starting display point webpage?? in advance.

add html anchor in view want scrolled down to. on page load use java script move anchor. see how scroll html page given anchor using jquery or javascript?

here example assuming using razor section render

<a href="#contentanchor">    @rendersection("content") </a>  <script type="text/javascript">     $(function() {          location.hash = "#contentanchor";      }); </script> 

Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -