Hello,
I set this xaml:
<telerikPrimitives:RadExpanderControl Grid.Row="0"
Content="Obecné" IsExpanded="True">
<telerikPrimitives:RadExpanderControl.ExpandableContentTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<telerikInput:RadNumericBox x:Name="numListPageSize"
Header="Počet zobrazených nabídek"
AllowNullValue="False"
IsEditable="True"
LargeChange="100"
AcceptsDecimalSeparator="False"
SmallChange="10"
Value="{Binding ListPageSize, Mode=TwoWay}"/>
</StackPanel>
</DataTemplate>
</telerikPrimitives:RadExpanderControl.ExpandableContentTemplate>
</telerikPrimitives:RadExpanderControl>
In this case is DataContext in StackPanel in ExpandableContentTemplate nullable. When I change content definition to ContentTemplate as this case:
<telerikPrimitives:RadExpanderControl Grid.Row="0"
IsExpanded="True">
<telerikPrimitives:RadExpanderControl.ContentTemplate>
<DataTemplate>
<TextBlock Text="Obecné"/>
</DataTemplate>
</telerikPrimitives:RadExpanderControl.ContentTemplate>
<telerikPrimitives:RadExpanderControl.ExpandableContentTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<telerikInput:RadNumericBox x:Name="numListPageSize"
Header="Počet zobrazených nabídek"
AllowNullValue="False"
IsEditable="True"
LargeChange="100"
AcceptsDecimalSeparator="False"
SmallChange="10"
Value="{Binding ListPageSize, Mode=TwoWay}"/>
</StackPanel>
</DataTemplate>
</telerikPrimitives:RadExpanderControl.ExpandableContentTemplate>
</telerikPrimitives:RadExpanderControl>
than I can see my binding value in numeric box. I use last internal build.
Best Regards
Miroslav Mareš