set Calander control to show month and years only

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    265 posts
    Member since:
    Jun 2011

    Posted 08 Aug 2013 Link to this post

    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
    JUL  AUG   SEp
  2. Konstantin Dikov
    Konstantin Dikov avatar
    1744 posts

    Posted 13 Aug 2013 Link to this post

    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.

    Konstantin Dikov
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top