Hello!
I want to have a small x button inside the date control where the user can clear the current date entry.
(similar to the clearbutton on your maskedinput control)
how to achieve this with an mvvm structure?
In order to achieve the desired scenario you would need to edit the DateTimePicker default Template and to insert a button inside which will clear the selected date. We have attached a sample project demonstrating the exact approach, please note that we are using Implicit Styles to style the DateTimePicker.
Hope this helps.
Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>