Appointment Location and using different appointment sources

2 posts, 0 answers
  1. Kenneth
    Kenneth avatar
    101 posts
    Member since:
    Apr 2014

    Posted 06 Mar 2015 Link to this post

    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
  2. Nasko
    Admin
    Nasko avatar
    585 posts

    Posted 11 Mar 2015 Link to this post

    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.

     
  3. DevCraft banner
Back to Top