4 Answers, 1 is accepted
0
Accepted
Hi Jon The Nerd,
You can set the value to null by setting SelectedDate=null; , however the Textbox will be just blank and not " / / " . Another thing you can consider is the SelectAll() method that select the whole text of the RadDatepicker. If you set it on GotFocus event you will be able to start writing the date right away when you put the focus on the RadDatepicker.
Hope that helps. Please let me know if you need more info.
Regards,
Boyan
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.
You can set the value to null by setting SelectedDate=null; , however the Textbox will be just blank and not " / / " . Another thing you can consider is the SelectAll() method that select the whole text of the RadDatepicker. If you set it on GotFocus event you will be able to start writing the date right away when you put the focus on the RadDatepicker.
Hope that helps. Please let me know if you need more info.
Regards,
Boyan
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.
0

Jon
Top achievements
Rank 1
answered on 25 Feb 2010, 08:42 PM
thanks
0

Rudis
Top achievements
Rank 1
answered on 05 Oct 2010, 06:23 PM
Hello!
Binding the SelectedValue to a DateTime property in a view model and setting the value to null doesn´t update the displayed date in the RadDatePicker. I can see that the control is getting the null value but the date is not updated.
What have I missed?
Best regards
/Anna
Binding the SelectedValue to a DateTime property in a view model and setting the value to null doesn´t update the displayed date in the RadDatePicker. I can see that the control is getting the null value but the date is not updated.
<totally:RadDatePicker Width=
"89"
Grid.Column=
"1"
Grid.Row=
"1"
TabIndex=
"9"
SelectedDate="{Binding Path=AvtalsDatumFrom, Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged}" />
What have I missed?
Best regards
/Anna
0
Hello Anna Rudlund,
Could you please specify which version of RadControls you are using as there was similar bug that was fixed for Q2 SP2 Version 2010.2.924. Please download the latest version and if you still have problems please let me know.
Kind regards,
Boyan
the Telerik team
Could you please specify which version of RadControls you are using as there was similar bug that was fixed for Q2 SP2 Version 2010.2.924. Please download the latest version and if you still have problems please let me know.
Kind regards,
Boyan
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