This is a migrated thread and some comments may be shown as answers.

Bind TileView with two differents Collection

1 Answer 28 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Nelson
Top achievements
Rank 1
Nelson asked on 19 May 2011, 02:13 PM
Hi,

I´m working with radTileView's Controler. I want that my TileView show different information in small content and large content.

I´m doing this:

<telerik:RadTileView x:Name="tileview" ItemsSource="{Binding ???}">
            <telerik:RadTileViewItem>
                <telerik:RadFluidContentControl ContentChangeMode="Manual" TransitionDuration="0:0:.5">
                    <telerik:RadFluidContentControl.SmallContent>
                        <TextBlock Text="{Binding ListaDesignacao}"></TextBlock>
                    </telerik:RadFluidContentControl.SmallContent>
                    <telerik:RadFluidContentControl.Content>
                        <TextBlock Text="OLa"></TextBlock>
                    </telerik:RadFluidContentControl.Content>
                    <telerik:RadFluidContentControl.LargeContent>
                        <TextBlock Text="{Binding Lista2}"></TextBlock>
                    </telerik:RadFluidContentControl.LargeContent>
                </telerik:RadFluidContentControl>
            </telerik:RadTileViewItem>
</telerik:RadTileView>

The problem is ItemSource binding. If I do binding there, the tileview show that information in small and large content. And I want different collections in this contents.

Any idea?

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 24 May 2011, 02:30 PM
Hello Nelson,
You should not have two ItemsSource collection for your RadTileView, but you can have one collection and each item of it can have another two collection to which you can bind your Small/LargeContent of the RadFluidContentControl.
Could you please examine the two attached projects and if you have further questions feel free to ask.

Greetings,
Zarko
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
TileView
Asked by
Nelson
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or