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

reset radmultipage scroll position on tab click

1 Answer 73 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Craig Wallace
Top achievements
Rank 1
Craig Wallace asked on 11 Oct 2010, 09:44 AM
Hi,

I have a RadTabStrip and RadMultiPage.  When I click a tab, the scroll position of the RadPageView contents is retained, so if I was at the bottom of the page on one tab, I stay there on the next tab.
How can I reset the PageView scroll position back to the top of the page when I change tabs?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Craig Wallace
Top achievements
Rank 1
answered on 13 Oct 2010, 08:30 AM
I got this working by using the ResponseScripts property of the RadAjaxPanel to call javascript to set the scroll position.
Tags
TabStrip
Asked by
Craig Wallace
Top achievements
Rank 1
Answers by
Craig Wallace
Top achievements
Rank 1
Share this question
or