Open end appointment

2 posts, 0 answers
  1. David
    David avatar
    23 posts
    Member since:
    Jan 2012

    Posted 05 Jan Link to this post

    Hi and happy new year folks,

    is it somehow possible to save open-end appointments?

    We're using ScheduleView for Appointments and absences. So when a user is absent for uncertain time, we want wo save an appointment which has no end time.

    Is that possible?

    Best regards,

    David

  2. Kalin
    Admin
    Kalin avatar
    1255 posts

    Posted 09 Jan Link to this post

    Hello David,

    You would need to set some value for the End property as if leave it blank ti will remain with its default value:
    new DateTime(1000, 1, 1, 1, 0, 0)

    And this will lead to an incorrect Appointment and it will not get rendered (the End will be before the Start). So please set some date that is actually after the Start date (it could be an year later for example).

    Hope this helps.

    Regards,
    Kalin
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top