Right column keeps growing

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    3 posts
    Member since:
    Feb 2011

    Posted 06 Mar 2012 Link to this post


    I am really struggling to make the RadTileView work.

    After trying to make it work with my own code I couldn't make the SmallContent to show properly on the right.
    Then, a bit desperate, I downloaded an old project from the forum (it uses dlls from the year 2010) and it works as expected. After that I have referenced the latest SL5 DLLs and again I get a weird behaviour.

    What I get now is the column from the right growing constantly (Maybe I should post a video because it is even funny :)).

    The code is really simple:
    <Grid x:Name="LayoutRoot">
            <telerikNavigation:RadTileView x:Name="tileView1" DisplayMemberPath="Name">
                        <telerik:RadFluidContentControl SmallToNormalThreshold="240, 120"
                                NormalToSmallThreshold="240, 120"
                                NormalToLargeThreshold="240, 120"
                                LargeToNormalThreshold="240, 120">
                                    <TextBlock Text="{Binding Name}" />
                                    <ListBox ItemsSource="{Binding Children}" />

    And the code behind where I am creating the items is even simpler:
    public partial class MainPage : UserControl
            private ObservableCollection<DataItem> itemsSource =
                new ObservableCollection<DataItem>();
            public MainPage()
                for (int i = 0; i < 10; i++)
                    DataItem d = new DataItem();
                    d.Name = string.Format("Item {0}", i);
                    for (int j = 0; j < 20; j++)
                tileView1.ItemsSource = itemsSource;
        public class DataItem
            public DataItem()
                this.Children = new ObservableCollection<int>();
            public string Name { get; set; }
            public ObservableCollection<int> Children { get; set; }

    Can you pass me a working sample project or tell me what am I doing wrong?

    Thank you.
  2. Andrew
    Andrew avatar
    3 posts
    Member since:
    Feb 2011

    Posted 07 Mar 2012 Link to this post


    I followed the instructions at this page and it worked like a charm.

  3. DevCraft R3 2016 release webinar banner
Back to Top