get selected month in schedule view

2 posts, 0 answers
  1. RSquired
    RSquired avatar
    12 posts
    Member since:
    Apr 2012

    Posted 25 Apr 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
    4547 posts

    Posted 26 Apr 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.
  3. DevCraft R3 2016 release webinar banner
Back to Top