I have two RadDateTimePickers in a DataForm and I'm binding a starting date to one and an ending date to another. If I don't bind to the selectedvalue in xaml, I can change the value in the RadDateTimePickers. If I bind the selectedvalue, I cannot change that value, the picker is read-only. Here is the xaml code for both pickers
What changes to I need to made to be able to edit both dates and still use bindings.
Thanks.
<
toolkit:DataField
Label
=
"Red Light Start"
Width
=
"325"
>
<
telerik:RadDateTimePicker
x:Name
=
"StartDate"
SelectedValue
=
"{Binding StartDate,Mode=TwoWay}"
Width
=
"200"
/>
</
toolkit:DataField
>
<
toolkit:DataField
Label
=
"Red Light End"
Width
=
"325"
>
<
telerik:RadDateTimePicker
x:Name
=
"EndDate"
SelectedValue
=
"{Binding EndDate,Mode=TwoWay}"
Width
=
"200"
/>
</
toolkit:DataField
>
What changes to I need to made to be able to edit both dates and still use bindings.
Thanks.