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

Refresh MinimapSchedule in ScheduleView and TimeBar demo

4 Answers 151 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sergey
Top achievements
Rank 1
Sergey asked on 06 Jul 2012, 09:55 AM
In the ScheduleView and TimeBar demo MinnimapSchedule doesn't refresh when you move/resize appointment in the MainSchedule. You can trigger refresh if you move the TimeBar slider. Is it done fore performance reasons? How can you force refresh on appointment change?

MinimapSchedule also doesn't refresh when you click to the left/right of the TimeBar slider to scroll the TimeBar page up/down. How can you enforce refresh on page up/down?

4 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 11 Jul 2012, 10:21 AM
Hi Sergey,

As to the first issue -  there is a bug in TimelineViewDefinition  - the view is not updated when a new appointment is added. This issue in already logged in our PITS, you can vote and track its progress here.

As a workaround you can handle AppointmentSaving event of the MainScheduleVIew and manually update the AppointmentsSource of the MinimapScheduleView:

private void MainSchedule_AppointmentSaving(object sender, Controls.AppointmentSavingEventArgs e)
{
    var apps = MinimapSchedule.AppointmentsSource;
    MinimapSchedule.AppointmentsSource = null;
    MinimapSchedule.AppointmentsSource = apps;
}

Also note that in the demo we have set different AppointmentsSource to both ScheduleViews - you should set only one.

As to the second question - can you explain it in more details and/or send us a screenshot? Thanks in advance


Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Sergey
Top achievements
Rank 1
answered on 11 Jul 2012, 01:33 PM
The workaround works, thanks!

I added screenshots to explain the second problem. Notice how in result.png the MinimapSchedule is not updated to reflect changed visible period of the TimeBar.
0
Yana
Telerik team
answered on 16 Jul 2012, 01:55 PM
Hello Sergey,

Thank you for providing the screenshots.

We will need some additional time to research this behavior, I will write here as soon as we have a result.

Greetings,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Yana
Telerik team
answered on 19 Jul 2012, 01:50 PM
Hi Sergey,

The issue seems more complicated than initially expected. We will need to review and update the whole example, because there are some other issues as well. I am afraid that at the moment we cannot commit to a certain timeframe for this - most probably it will be completed for the Q3 release.

We are sorry for any inconvenience caused.

All the best,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Sergey
Top achievements
Rank 1
Answers by
Yana
Telerik team
Sergey
Top achievements
Rank 1
Share this question
or