RadFluidContentControl - Databinding from Viewmodel

2 posts, 0 answers
  1. Jack
    Jack avatar
    1 posts
    Member since:
    Nov 2015

    Posted 07 Nov 2015 Link to this post


     I'm using RadTileView and RadFluidContentControl to display small, normal and large views. For some reason the default normal view is displaying correctly but other 2 views are not displayed. Please see below code:


    <telerik:RadTileViewItem Header="​Test">

                            <telerik:RadFluidContentControl ContentChangeMode="Manual" 
                                                            State="{Binding RelativeSource={RelativeSource AncestorType=telerik:RadTileViewItem}, Path=TileState, Converter={StaticResource FluidContentStateConverter}}">

                                        <TextBlock Text="{Binding Path=textvalue}" />


                                    <TextBlock Text="{Binding Path=textvalue1}"  />

                                    <TextBlock Text="{Binding Path=textvalue2}" />




     textvalue, textvalue1 and textvalue2 values are assigned in the viewmodel and it is used in the namespace:


     d:DataContext="{d:DesignInstance viewModels:TestViewModel}"​

    ... />


    Could you help me why small and large contents are not displaying?



  2. Martin Ivanov
    Martin Ivanov avatar
    1451 posts

    Posted 11 Nov 2015 Link to this post

    Hello Jack,

    I am afraid that without your implementation I cannot be sure what is causing the described behavior. However, based on your code, I prepared a sample project demonstrating the desired effect. Please give it a try and let me know if I am missing something.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top