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

Open end appointment

1 Answer 64 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 05 Jan 2017, 09:33 AM

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

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 09 Jan 2017, 10:59 AM
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.
Tags
ScheduleView
Asked by
David
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or