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

Switch from TimelineView to MonthView problem

1 Answer 47 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Lucie
Top achievements
Rank 1
Lucie asked on 19 Jan 2012, 03:00 PM
I have all views in ScheduleView (Day,Week,Month,Timeline). I can switch between all except from TimeLineView to MonthView.
When I switch from TimeLine to MonthView then is fired error:
Layout cycle detected.  Layout could not complete.

When I switch from TimeLineView to DayView or WeekView and then to MonthView then it is OK.
There is not any handler for SizeChanged in control. There is handler for VisibleRangeChanged in what I read Appointments. Error Occurs even in case when handler is commented out. It means only internal ScheduleView
action are in progress.
Switching is done with AppointmentsSource assigned to not empty observable collection.
I use user appointment derived from Appointment and a bit modified template for appointment.

In my last test I set AppointmentsSource to null and then clear collection of appointments and read new
data. It works but window of ScheduleView is empty with a message for 1 second. It is not too good.

And like to know right method for switching between views and/or how to remove text from empty window.

Can somebody help me?

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 24 Jan 2012, 09:48 AM
Hello Jana,

I've tried to reproduce the described behavior in our online demos here but without much success. Can you please try to isolate this issue in a runnable project and send it to us? We need to reproduce the problem locally. Thanks in advance


Regards,
Yana
the Telerik team

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

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