DayView - Is there any way to do these things?

3 posts, 0 answers
  1. Anthony
    Anthony avatar
    14 posts
    Member since:
    Feb 2013

    Posted 25 May 2017 Link to this post

    The calendar dayview seems to work great, but it seems it's missing a new necessary options for me (at least I couldn't find these). Please tell me if any of these options are available, so we know to purchase this set or look elsewhere:


    1. Can I set the start and end time on the selected day? Currently, it shows Midnight to Midnight. I want this to filter out any hours outside business hours, or at least automatically scroll directly to the business opening time.

    2. Is there a way to long click an empty time slot to pop a menu, specific to that time slot? ie. I want to long hold to open a new page that already knows the time I long held on.

    3. Is there a way to show every 15 minutes in the side bar, instead of just every hour?

  2. Tim
    Tim avatar
    58 posts
    Member since:
    Sep 2002

    Posted 26 May 2017 in reply to Anthony Link to this post

    Regarding # 1: see the DayViewCalendarRenderer in the QSF project in the Trial Package.


      public class DayViewCalendarRenderer : CalendarRenderer
            public override bool TrySetViewMode(Telerik.XamarinForms.Input.CalendarViewMode view, bool isAnimated)
                bool hasNavigated = base.TrySetViewMode(view, isAnimated);
                var presenter = Control?.Presenter as TKCalendarDayViewPresenter;
                if (presenter != null)
                    presenter.DayView.EventsView.StartTime = 3600 * 8;
                    presenter.DayView.EventsView.EndTime = 3600 * 22;

  3. Stefan Nenchev
    Stefan Nenchev avatar
    665 posts

    Posted 26 May 2017 Link to this post

    Hello Anthony,

    With the current implementation of the RadCalendar,  2 of your requirements can be achieved by creating custom renderers and modifying the appearance of the native controls. I have attached a sample for your reference on how to change the start and end date time, as well as modifying the interval time of your day view.

    As for the requirement of holding an empty time slot and adding an event, the RadCalendar does not expose such feature at this point. However, I have logged the behavior as a feature request in our internal system so we can consider implementing it. You can track the progress of the item on the following page from our Ideas & Feedback portal - RadCalendar: Support editing in DayView mode. I suggest you subscribe to the item in order to automatically receive notifications.

    Please have a look at the attached sample and consider such approach from your end.

    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top