XF - Month to day - navigation

3 posts, 0 answers
  1. Jason
    Jason avatar
    6 posts
    Member since:
    Nov 2015

    Posted 16 Sep 2018 Link to this post


    Working with xf calendar and have a calendar loaded with appointments defaulting to monthview.

    When day is selected, it have it move to dayview using the "SelectionChange" event:

    calendar.TrySetViewMode(CalendarViewMode.Day, true);


    Question is, how do I allow users to navigate BACK to monthview? 

  2. Didi
    Didi avatar
    384 posts

    Posted 17 Sep 2018 Link to this post

    Hi Jason,

    In order to navigate back from day view to month view you can add a button above the RadCalendar control and use the following code inside the button click event:
    private void Button_Clicked(object sender, EventArgs e)

    I have created a sample example with another approach to achieve the scenario similar to the attached image. Please take a look at the project how the back button is implemented in order to navigate to month view.

    Let me know if you have any other questions.

    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
  3. Jason
    Jason avatar
    6 posts
    Member since:
    Nov 2015

    Posted 17 Sep 2018 in reply to Didi Link to this post

    Thanks Didi.  I got it work with your sample project code.
Back to Top