When a page is posted back to the server, at that time the user is at top position of the page rather it is not redirecting to that location where the user is before redirect of the webpage. So the use of MaintainScrollPositionOnPostBack property for a Page is to set the value as true or false for scroll position in the browser after the page is postback. When the property is set to true then the user will at that position at which the user is present before redirect. So we can say the user will redirect to the same position before redirect to another page.
<asp:Page MaintainScrollPositionOnPostBack="True/False" />
Asked In: Many Interviews |