Use RadDateTimePicker as Month Picker

4 posts, 0 answers
  1. Cheau-Long
    Cheau-Long avatar
    27 posts
    Member since:
    Jan 2011

    Posted 14 Apr 2011 Link to this post

    Hi Telerik,

    I want to use RadDateTimePicker for selecting month only without concerning date and year. I have implemented as shown in the screenshot below. How can I hide the left right arrow, and custom the title from the dropdown header?



    Thanks!
     Cheau
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 18 Apr 2011 Link to this post

    Hi,

    There is an event which you can use to convert the text input into DateTime. You have to override it to make it parse months only. Also you can change the culture to display only the month names and finally you can create a style for RadCalendar to make the RadCalendar in the DropDown hide its header. Check how all of this is done in the attached project.

    Kind regards,
    Pana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Cheau-Long
    Cheau-Long avatar
    27 posts
    Member since:
    Jan 2011

    Posted 18 Apr 2011 Link to this post

    Hi Pana,
    Thanks for your help. Your solution works beautifully!

    Best regads,
    Cheau
  5. Pana
    Admin
    Pana avatar
    748 posts

    Posted 19 Apr 2011 Link to this post

    Hello,

    I am glad the project have solved your problem. If you have further questions do not hesitate to contact us again.

    Regards,
    Pana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top