This is a migrated thread and some comments may be shown as answers.

Maintain scroll position on postback of Multipage

4 Answers 152 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Duy
Top achievements
Rank 1
Duy asked on 21 Nov 2013, 12:43 AM

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

4 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 25 Nov 2013, 01:23 PM
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.
0
Duy
Top achievements
Rank 1
answered on 25 Nov 2013, 09:50 PM

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


0
Nencho
Telerik team
answered on 28 Nov 2013, 03:13 PM
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.
0
Duy
Top achievements
Rank 1
answered on 03 Dec 2013, 02:51 AM

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
Tags
TabStrip
Asked by
Duy
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Duy
Top achievements
Rank 1
Share this question
or