hello,
I have used MVVM approch to bind datepicker with entity. Below given is the code which i used to bind DatePicker:
I have used MVVM approch to bind datepicker with entity. Below given is the code which i used to bind DatePicker:
<
telerikInput:RadDatePicker x:Name="DateofReferral" TabIndex="1" SelectedValue="{Binding memberIncomingReferral.ReferralDate, Mode=TwoWay}" Culture="en-US" Height="22"/>
By default i set "TodayDate" in this control when loading the form. now if i click on control and blank it by BackSpace and save the screen, still i get "TodayDate" in my entity.
DatePicker doesn't set value Null or blank if i clear it by using backspace. It doesn't refect value Null back to my ViewModel. It only change value when i select any other date from Canlendar.
please suggest.