MaintainScrollBackPositionOnPostback
How do I set the page level property maintain scrollback position on postback?
Hi Steve,
Unfortunately there is no such property that you can set through the UI.
You would have to do this either from the master page or from a control:
public
partial
class
MyMasterPage : System.Web.UI.MasterPage
protected
void
Page_Load(
object
sender, EventArgs e)
this
.Page.MaintainScrollPositionOnPostBack =
true
;
Can do...fair enough, thanks Radoslav
Feature request to set this in the Config editor please though :)
I have a backend page on whom i have a user control
On user control although i had set this.Page.MaintainScrollPositionOnPostBack = true; on page load event but it is still not maintaining the scroll position.
Any idea what's wrong? [I am using Sitefinity 6.3]