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

How to keep scroll position of jumplist?

3 Answers 68 Views
JumpList
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ELRaymond
Top achievements
Rank 1
ELRaymond asked on 23 Jan 2013, 01:53 PM
Page A includes a RadJumpList.

User selects an item from that list and we push a new page to navigationservice.

We press back button to return to the previous page. Naturally we loose the position of the RadJumpList.

I want to auto-scroll to the radjumplist position that i save in NavigatingFrom function.

What is the best way to do this?

3 Answers, 1 is accepted

Sort by
0
Accepted
Deyan
Telerik team
answered on 23 Jan 2013, 04:12 PM
Hello Cahit,

Thanks for writing.

This happens because you're rebinding the JumpList to another source when going back from the previous page. If you are navigating away from a page using the NavigationService's Navigate method, the previous page remains in memory, i.e. the scroll position of the JumpList remains intact unless you change the items source.

Make sure that you do not rebind the control to avoid this behavior.

Greetings,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
ELRaymond
Top achievements
Rank 1
answered on 24 Jan 2013, 11:35 AM
Thank you this solved my problem and what should i use if i want to reopen that very scroll position when the application restarts? (closed completely) ( is there a better way than BringIntoView ?)
0
Deyan
Telerik team
answered on 25 Jan 2013, 08:12 AM
Hi Cahit,

Thanks for writing back.

You should use the BringIntoView method. What you need to do is somehow store the item which, let's say, is top most at the moment when you are closing the application and repositiong the JumpList so that it shows again when reopening the application.

All the best,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
JumpList
Asked by
ELRaymond
Top achievements
Rank 1
Answers by
Deyan
Telerik team
ELRaymond
Top achievements
Rank 1
Share this question
or