I want to introduce you the new RadMonthYearPicker control which is available in
the new Q1 2011 release of RadControls for ASP.NET AJAX. RadMonthYearPicker is a
flexible component that allows the user to select month and year and to display
that month/year in the specified format and culture.
The RadMonthYearPicker can be used as a picker control into bound controls. Binding
a RadMonthYearPicker to a data source is easily provided through the DbSelectedDate
property. It works almost like the SelectedDate one, but will not throw an exception
when it is given a null value:
<edititemtemplate> <telerik:RadMonthYearPicker ID=" RadMonthYearPicker1" MinDate="01/2010" runat="server" DbSelectedDate='<%# Bind("Dates") %>'> </telerik:RadMonthYearPicker></edititemtemplate>...
The main difference between FastNavigation view of the RadCalendar and RadMonthYearPicker's
view is that the RadMonthYearPicker's view has four types of custom cells which
appearance could be controlled on the server. The most appropriate event for changing
their styles is ViewCellCreated. The cells types are declared into the MonthYearViewCellType
enum and they are - MonthCell, YearCell, NavigationCell, ButtonCell
In addition the RadMonthYearPicker for ASP.NET AJAX is level A accessible (in compliance with the W3C Web Accessibility Guidelines 2.0). You could find an online example which shows the RadMonthYearPicker accessibility here.
Iana Tsolova is Product Manager at Telerik’s DevTools division. She joined the company back in the beginning of 2008 as a Support Officer and has since occupied various positions at Telerik, including Senior Support Officer, Team Lead at one of the ASP.NET AJAX teams and Technical Support Director. Iana’s main interests are web development, reading articles related to geography, wild nature and latest renewable energy technologies.
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.