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

Appointment Location and using different appointment sources

1 Answer 40 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Kenneth
Top achievements
Rank 2
Iron
Kenneth asked on 06 Mar 2015, 03:01 PM
A 2 part question - 

First, Appointment has a location string that can be set in code but I do not see anywhere in the create or edit dialogs that this property is used.  I assume purpose of the location is to record the physical location of the appointment, like 'conference room' or 'main office', is that correct?  If so, where would the user enter and view this information?

Second, my interest in Location is because I want to take it over to do something unusual, and there may be a better way to do this...here's what I want to do:

I would like to implement a traditional appointment scheduler using the built-in features of ScheduleView, but I also want to add to the monthview some non-appointment information in the form of all-day events, for example customer birth dates.  These 'special' appointments would not be editable by the user and would not be saved in the same database table.  I could use the location property to flag these as 'DOB' so when it come time to save the data I would filter out these form the AppointmentsSource first.  However I do not want users to be able to end the location of 'normal' appointments, at least prevent them from entering the magic string 'DOB'.

Would there be any problems with this approach and\or any suggestions or alternatives?

kpg

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 11 Mar 2015, 09:56 AM
Hi Kenneth,

1. Inside the EditAppointmentDialog no information is presented for the Location property of the Appointment. However, you could modify that dialog and add an additional TextBox inside it that will provide you the possibility to set or get the Location of the Appointment. Please, check this article from our help documentation that provides a detailed information how to modify the EditAppointmentDialog.

2. What we could suggest you as another approach to achieve the desired is to use custom SpecialSlots -you could add custom properties that present information for the Location for example and bind them in the Slot Template. Please, check the following article from our help documentation that provides an additional information about how to create such custom Slots:
http://docs.telerik.com/devtools/wpf/controls/radscheduleview/features/customslots.html

Hopes this helps.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ScheduleView
Asked by
Kenneth
Top achievements
Rank 2
Iron
Answers by
Nasko
Telerik team
Share this question
or