This question is locked. New answers and comments are not allowed.
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
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
0
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
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
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
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
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
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.