CustomAppointment with Recurrency will not open for edit

5 posts, 0 answers
  1. Jim
    Jim avatar
    12 posts
    Member since:
    Sep 2011

    Posted 22 Jul 2014 Link to this post

    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
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 23 Jul 2014 Link to this post

    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.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jim
    Jim avatar
    12 posts
    Member since:
    Sep 2011

    Posted 23 Jul 2014 in reply to Konstantina Link to this post

    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
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 24 Jul 2014 Link to this post

    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.
     
  6. Jim
    Jim avatar
    12 posts
    Member since:
    Sep 2011

    Posted 25 Jul 2014 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready