If your pages are high/long and controls that cause postback are placed on the bottom it can be really annoying for users to manually scroll down after every postback.
<%@ Page Language="C#" AutoEventWireup="true" MaintainScrollPositionOnPostback="true" %>
// or (on page load)
Page.MaintainScrollPositionOnPostBack = true;
After the postback and reload of the page, the previous scroll position will be restored.
No comments:
Post a Comment