Using YearView DisplayMode

2 posts, 0 answers
  1. cpursley
    cpursley avatar
    6 posts
    Member since:
    Jul 2007

    Posted 02 Apr 2009 Link to this post

    Even though I set DisplayMode to YearView, when I click the month it drill into that month instead of firing a change event to let me know the selected month. How do I use the calendar to be a month picker?
  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 02 Apr 2009 Link to this post

    Hello Chris,

    Unfortunately, the Calendar (and DatePicker) do not support selection of months only. The SelecionChanged event is not fired because no actual selection has occurred, the user has only navigated to another month/year.

    The DisplayMode property only reflects in which mode the calendar is at the moment, but does not limit the user navigation.

    We have not yet considered adding this selection mode for the calendar.

    As an alternative, you can have a look at the MaskedTextBox which supports year/month-only entry:

    Hopefully this will work in your scenario,

    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top