Hello. I'm using the RadDatePicker (Silverlight 4 version) and while I can bind the SelectableDateStart value and it works, it does not work when I set the SelectableDateEnd. This does, however, work using the same bindings in the SDK date picker. Is there a bug here or is there something else I need to do?
<
telerik:RadDatePicker
x:Name
=
"TaskDatePicker"
Grid.Row
=
"2"
Grid.Column
=
"1"
Width
=
"100"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Center"
DateSelectionMode
=
"Day"
DisplayDateEnd="{Binding Tag.MaxDueDate,
RelativeSource={RelativeSource Self}}"
DisplayDateStart="{Binding Tag.Tomorrow,
RelativeSource={RelativeSource Self}}"
InputMode
=
"DatePicker"
IsEnabled="{Binding Item.IsComplete,
Converter={StaticResource InverseConverter}}"
IsReadOnly="{Binding This,
Converter={StaticResource ParentToReadOnly}}"
SelectableDateEnd="{Binding Tag.MaxDueDate,
RelativeSource={RelativeSource Self}}"
SelectableDateStart="{Binding Tag.Tomorrow,
RelativeSource={RelativeSource Self}}"
SelectedValue="{Binding Item.DueDate,
Mode
=
TwoWay
}"
TextAlignment
=
"Center"
Visibility="{Binding This,
Converter={StaticResource ParentToVisibility}}"
telerik:StyleManager.Theme
=
"{StaticResource MainTheme}"
>
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"Loaded"
>
<
bi:FindElementName
ElementName
=
"LayoutRoot"
Path
=
"DataContext"
SetFoundValueToTagProperty
=
"True"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</
telerik:RadDatePicker
>