Last Updated: 02 Mar 2018 08:14 by Patrick
Telerik Admin
Created on: 21 Mar 2012 17:56
Category: TileView
Type: Bug Report
TileView: FluidContentControl - The DataContext is not distributed to Large and Small contents in some cases
The DataContext is not distribute to Large and Small contents in some cases.

Possible workarouns:
1) Declare the DataContext of TileView in xaml, for example:
        <local:MainViewModel />

2) Assing DataContext Binding to the three contents:
                <Grid DataContext="

                <TextBox FontSize="16" DataContext="{Binding}"

				<TextBlock FontSize="12" DataContext="{Binding}"
Posted on: 16 May 2016 18:17
Doing this gave the expected behavior:

<DataTemplate x:Key="contentTemplate">
            <telerik:RadFluidContentControl Content="{Binding}" LargeContent="{Binding}" SmallContent="{Binding}" />
Posted on: 09 May 2016 19:47
Any news here? This seems to be an issue in Silverlight as well. When using a RadFluidContentControl the Large/SmallContentTemplates do not allow the use of bindings within the DataTemplate assigned because the DataContext is not inherited from the fluid content control. Setting the Large/SmallContent directly is far less than ideal, and in our situation manually forcing the inherritance with DataContext="{Binding RelativeSource={RelativeSource AncestorType=telerik:RadFluidContentControl, Mode=FindAncestor}, Path=DataContext}" isn't an option either. Please advise.
Posted on: 10 May 2013 05:03
This is a massive blocker for our customer. What are the timelines for the fix?