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

Notifying the change of the visiblerange

3 Answers 108 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Cees
Top achievements
Rank 1
Cees asked on 30 Nov 2010, 05:27 PM
Hoi.

Is it possible to signal a change of the visible period in the RadSchedulerView .
I need this for the following scenario.

Only a subset of the data is loaded. When the Visible period is changed, by the user, a round trip to the database will be performed. How can I see that the visible period is changed.

Thanks for the help

Cees

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 01 Dec 2010, 12:01 PM
Hello Cees,

Thank you for your question.

You can hook to the SelectedViewStartDateChanged event, which is fired every time the visible date range is changed.

Hope this information helps. Please let us know if you have additional questions.

All the best,
Konstantina
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Cees
Top achievements
Rank 1
answered on 01 Dec 2010, 12:34 PM
Hello Konstantina,

Thank you for the response, but I can't find the SelectedViewStartDateChanged event (or something that look likes) on the RadScheduleView I have.

I use the evaluation version 2010.3.1110.40 of Telerik.Windows.Controls.ScheduleView

Am I missing something?

Cees

0
Konstantina
Telerik team
answered on 02 Dec 2010, 12:22 PM
Hi Cees,

Sorry for the misunderstanding, I have overlooked and thought you are asking about RadScheduler.
Unfortunately, there is no event that is raised when you change the visible range at this stage in the ScheduleView. I would suggest you to use VisibleRangeEnd and VisibleRangeStart properties of the RadScheduleView control. You could bind your ViewModel to them and listen when they will change its value.

Hope this information helps. Please let us know if you have additional questions.

Kind regards,
Konstantina
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
ScheduleView
Asked by
Cees
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Cees
Top achievements
Rank 1
Share this question
or