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

Default Date for RadDateTimePicker

5 Answers 119 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sameer
Top achievements
Rank 1
Sameer asked on 15 Mar 2012, 09:30 PM
Hi,

I have a RadDateTimePicker in my Xaml which is bound with nullable DateTime field in my Model Entity.
If my Entity field is null, I want to display a computed date. I tried using TargetNullvalue in my Binding expression however, it doesn't take dependency property.
So I was just wondering is there a solution for this in your rad control?

Thank you for your help

Sameer

5 Answers, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 21 Mar 2012, 12:25 PM
Hello,

This functionality cannot be achieved with the current version of RadDateTimePicker. We will consider implementing it for the upcoming 2012 Q2 release.

Greetings,
Ivo
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Myles
Top achievements
Rank 1
answered on 11 May 2012, 11:28 AM
Can you confirm whether this functionality has been included in the 2012 Q2 release?
0
Ivo
Telerik team
answered on 16 May 2012, 08:53 AM
Hi Myles,

This functionality will not make it trough for the 2012 Q2 release, because there were other tasks with higher priority. However we will consider this when we plan the tasks for the next release.

Regards,
Ivo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Myles
Top achievements
Rank 1
answered on 05 Oct 2012, 08:43 AM
What about now?  Will it make the next release?  This is really important to us.
0
Ivo
Telerik team
answered on 10 Oct 2012, 11:29 AM
Hi Myles,

We investigated this and found that major breaking changes will be required in order to implement this functionality. We also found an easy workaround that allows you to achieve the mentioned functionality.

You can handle the selection changed event, check whether there is no new selected date and set the default or computed date you want. Note that this will result in updating your ViewModel.

All the best,
Ivo
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DateTimePicker
Asked by
Sameer
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Myles
Top achievements
Rank 1
Myles
Top achievements
Rank 1
Share this question
or