Postbacks return the user to the top of the page

Whever a user clicks a button etc which causes a postback, the browser jumps back to the top of the page.

Whever a user clicks a button etc which causes a postback, the browser jumps back to the top of the page. To prevent this from happening you may either

A) Add <%@ Page SmartNavigation=true %> for a single page
or
B) Add the following to web.config to enable smart navigation for all pages

<configuration>
<system.web>
<pages smartNavigation="true">
</system.web>
</configuration>

 

 

Share this article!

Follow us!

Find more helpful articles: