MaintainScrollBackPositionOnPostback

Posted by Community Admin on 04-Aug-2018 03:04

MaintainScrollBackPositionOnPostback

All Replies

Posted by Community Admin on 23-Feb-2011 00:00

How do I set the page level property maintain scrollback position on postback?

Posted by Community Admin on 01-Mar-2011 00:00

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;
    

Kind regards,
Radoslav Georgiev
the Telerik team

Posted by Community Admin on 01-Mar-2011 00:00

Can do...fair enough, thanks Radoslav

Feature request to set this in the Config editor please though :)

Posted by Community Admin on 25-Apr-2014 00:00

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] 

This thread is closed