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

CustomAppointment with Recurrency will not open for edit

4 Answers 52 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 22 Jul 2014, 02:15 PM
In my project it seems that I cannot open custom appointments that have a recurrency set. How can I debug this since no exception is thrown?
Should I try to investigate the Telerik source codes? If so, where to begin?

I tried with a simpler project and then it works. However after hours of investigating I don't know where to look at.

Some details about the project:
- Telerik.Windows.Controls.ScheduleView version: 2014.2.617.45
- CustomAppointment
- Custom Resource
- Custom EditAppointmentTemplate and a Custom ViewModel behind it

Thanks,

Jim

4 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 23 Jul 2014, 03:15 PM
Hi Jim,

You debugging or trying to investigate our code might be quite difficult operation, as it is a lot and I guess you will need a lot of time and effort. The best practice in this case is to isolate the problem in a sample project and send it to us. We will review it and debug it here locally.
Since, you are not able to do this, I can only suggest you some things that you can look through again:
- what type does your CustomAppointment inherit
- look for something in the custom EditAppointmentTemplate and its ViewModel, there might be something missing
- if you have a template for the whole ScheduleView look for missing gesture for the mouse down.
- if available, try with an older version of the controls. If something has changed which causes this behavior, it will be easier to be tracked.

Hope this helps. Please let us know if you have progress on the issue.

Regards,
Konstantina
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Jim
Top achievements
Rank 1
answered on 23 Jul 2014, 04:13 PM
Hello Konstantina,

Thanks for the reply. But I'm still no further in my investigation. I followed your suggestions:
- My CustomAppointment inherits from Telerik.Windows.Controls.ScheduleView.Appointment, my schedule view appointmentsSource refers to an ObservableCollection<CustomAppointment>
- No template used for the whole ScheduleView
- I am afraid I don't have any older versions of the controls

What I also found out: it only has to do with Recurrency. If a user adds recurrency in the EditAppointmentDialogWindow, it is saved and the recurrence symbol is displayed, but afterwards it can no longer be edited in the EditAppointmentDialogWindow. If the recurrency is removed (e.g. using a custom button event handler that removes recurrence on the appointment items) it can be edited again.

I also tried to use the default EditAppointmentDialogStyle without any luck.

I am stuck, I'm afraid. Any more suggestions?

Thanks again,

Jim
0
Konstantina
Telerik team
answered on 24 Jul 2014, 08:56 AM
Hi Jim,

I have prepared a sample project in which I tried to reproduce the issue. You can find it attached to the post. Please review it and try to change it in order the described behavior to be observed. Then, send it back to us, so that we can research the issue.

Looking forward to your reply.

Regards,
Konstantina
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Jim
Top achievements
Rank 1
answered on 25 Jul 2014, 11:48 AM
Dear Konstantina,

Thanks for the reply. I will pick this up at a later time, since other priorities urge me to work on other development. I will get to you soon.

Kind regards,

Jim
Tags
ScheduleView
Asked by
Jim
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Jim
Top achievements
Rank 1
Share this question
or