Maintain scroll position on postback of Multipage

5 posts, 0 answers
  1. Duy
    Duy  avatar
    68 posts
    Member since:
    Apr 2009

    Posted 20 Nov 2013 Link to this post


    Hi,

    I can not find any properties to maintain the current position of Multipage after the postback.

    In my case, I define multipage in usercontrol from which is added to target control of RadToolTipManager.  The scroll position is always back on the top after the postback.

    Regards,

    Duy
  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 25 Nov 2013 Link to this post

    Hello Duy,

    I would suggest you to set the MaintainScrollPositionOnPostback page property to true, in order to achieve the desired behavior. Or you could use your web.config and the pages section, in order to configure this behavior for the entire project :

    <pages maintainScrollPositionOnPostBack="true">
    ...
    </pages>

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Duy
    Duy  avatar
    68 posts
    Member since:
    Apr 2009

    Posted 25 Nov 2013 Link to this post


    Hi Nancho,

    Thanks for replying, it does not work for usercontrol which loads on demanding in RadToolTipManager (pages with properties maintainscrollafterpostback=true for both (pages and web config)  and also tried with programming code behind unfortunately could not get its working.

    If I have without scroll option for multipage, scroll bar able maintain the position on the parent browser rather on radtooltipmanager.

    Regards,

    Duy


  5. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 28 Nov 2013 Link to this post

    Hello Duy,

    Would you elaborate a bit more about you scenario and the faced issue. Which is the problematic scrollbar - the one which appears if you had set RadPageView dimensions and the content becomes scrollable, or the scrollbar of the Page does not maintain its position? Please refer to this screenshot.

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  6. Duy
    Duy  avatar
    68 posts
    Member since:
    Apr 2009

    Posted 02 Dec 2013 Link to this post


    Hi Nencho,

    My scenario is  radmultipage's scrollbar and also have a screencapture for your reference.

    On expand tree node, the vertical bar's position is always back to the top.  I am using RadToolTipManager to display the usercontrol.

    I am really appreciate your assistance.

    Kind Regards,

    Duy
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017