get selected month in schedule view

2 posts, 0 answers
  1. Roshan
    Roshan avatar
    24 posts
    Member since:
    Apr 2012

    Posted 25 Apr 2016 Link to this post

    How to get the selected month in schedule view. I m using 
    <telerik:MonthViewDefinition CalendarWeekRule="FirstFullWeek" FirstDayOfWeek="Monday"
                                 GroupFilter="{Binding GroupFilter,Mode=TwoWay}"  />


    And a breadcrum to navigate between day week and month view

                                Text="{Binding LocalizedStrings.CAL_MAIN_WEEK, Source={StaticResource myCustomResources},Converter={StaticResource CommonUpperCaseConverters}}"
                                Style="{StaticResource CalendarNavigateViewButton}"
                                Command="{Binding DC[NavigateToWeekCommand], Mode=TwoWay}"
                                CommandTarget="{Binding ElementName=radScheduleDetails}" Click="RadRibbonButton_Click"
                                Name="weekButton" />

    I want to identify which month i was in when I click on weekButton.

    Is there a simpler way other than using start/end days or appointment days?

    Thank you in advance,

  2. Yana
    Yana avatar
    4663 posts

    Posted 26 Apr 2016 Link to this post


    You could use the CurrentDate property of RadScheduleView.  In the following topic you can check how it is set for the different ViewDefinitions:
    How to configure the VisibleRange

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top