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

set Calander control to show month and years only

1 Answer 124 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 08 Aug 2013, 09:07 PM
I ned to make the calendar show only months for picking it and years and not days.  Then I am wondering If I can show then all in the header of the calander controls instead of indididual box type format so it would look like this.

2012     JAN    FEB     MAR     APR     MAY      JUN     JUL     AUG      SEP   OCT   NOV     DEC   2013

Instead of this
JAN  FEB  MAR
APR  MAY  JUN
JUL  AUG   SEp
OCT NOV   DEC

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 13 Aug 2013, 11:50 AM
Hello Kevin,

Thank you for contacting us.

About your first requirement:
The RadCalendar cannot be customize to show only months or years for picking. Such functionality could be accomplish with the RadMonthYearPicker. Attached you may find a sample project, where the RadMonthYearPicker is used to display only the months or only the years (by default it shows the months and the years). 

Your second requirement is also not available out of the box. Nonetheless, one possible approach using RadButtons setting the month to the RadMonthYearPicker is shown in the attached project.

If any other questions arise, please feel free to contact us again.

 
Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Calendar
Asked by
Kevin
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or