↑ Grab this Headline Animator

Wednesday, March 25, 2009

What is the use of MaintainScrollPositionOnPostBack property of a aspx Page.

MaintainScrollPositionOnPostBack property for Page directive is used to get or set a value(true or false) whether to return the user to the same scroll position in the browser after postback.

Generally when a web page is posted to the server the user will be ruturned to the top position of the page and not to the position the user is at when post back is happened.

When the MaintainScrollPositionOnPostback() property for a page is set to true, the user is instead returned to the position he is on during the postback. This is usefull if the page is very big and needs to be scrolled for submitting.

<asp:Page MaintainScrollPositionOnPostBack="True|False" />

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.


Latest Articles