RadDatePicker Built-in clear button to remove the selected date.

1 Answer 117 Views
DatePicker
Rss
Top achievements
Rank 1
Rss asked on 25 May 2023, 12:07 PM
I would like to know if the WPF RadDatePicker control offers a built-in clear button functionality to remove the selected date.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 29 May 2023, 11:29 AM

Hello,

RadDatePicker doesn't have a built-in clear value button. To achieve your requirement, you can add an extra button and remove the SelectedDate on click of that button. You can position the button next to the RadDatePicker in the view, or you can create a customized version of the RadDatePicker's ControlTemplate and add the button there.

Also, there is a feature request to add a clear button which you can find logged here.

I hope that helps.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DatePicker
Asked by
Rss
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or