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

How to tell when ActiveViewDefinition has changed

2 Answers 107 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Rod Yager
Top achievements
Rank 1
Rod Yager asked on 21 Dec 2010, 07:40 PM
I would like to save the index of the active view so that the user comes back to the same view the next time he/she uses the schedule view.

Thanks,
Rod

2 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 22 Dec 2010, 11:17 AM
Hi Rod Yager,

Just save the ActiveViewDefinitionIndex's property when the user navigates away from the page and restore it when the user comes back. You can also save it in somewhat settings file when the application closes and load it back on startup.

Greetings,

Pana
the Telerik team

 

Browse the videos here>> to help you get started with RadControls for WPF
0
Rod Yager
Top achievements
Rank 1
answered on 22 Dec 2010, 02:18 PM
Actually what I need is a handler to tell when the activeviewdefinition changes from say day to week. Then find the index and save it.
Tags
ScheduleView
Asked by
Rod Yager
Top achievements
Rank 1
Answers by
Pana
Telerik team
Rod Yager
Top achievements
Rank 1
Share this question
or