This is a migrated thread and some comments may be shown as answers.

Using YearView DisplayMode

1 Answer 119 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
cpursley
Top achievements
Rank 1
cpursley asked on 02 Apr 2009, 10:21 AM
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?

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 02 Apr 2009, 11:30 AM
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:

http://demos.telerik.com/silverlight/default.aspx#MaskedTextBox/FirstLook

Hopefully this will work in your scenario,

Greetings,
Miroslav
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
cpursley
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or