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

Is it possible to have 2 tileView?

5 Answers 69 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Jimmy
Top achievements
Rank 1
Jimmy asked on 12 Apr 2011, 03:33 AM
i wanted to ask if it is possible for us to have 2 tileView in a single xaml?
if yes, is there any solution for this?
I've tried to bind it to different content template, yet it failed.

5 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 12 Apr 2011, 12:44 PM
Hi Jimmy,

Could you please elaborate more on what you mean when saying 2 tileView in a single xaml. Do you mean the following:

<Grid x:Name="LayoutRoot" Background="White">
    <Grid.ColumnDefinitions>
        <ColumnDefinition />
        <ColumnDefinition />
    </Grid.ColumnDefinitions>
    <telerik:RadTileView Background="Orange">
        <telerik:RadTileViewItem Header="Item 0 - Left" />
        <telerik:RadTileViewItem Header="Item 1 - Left" />
        <telerik:RadTileViewItem Header="Item 2 - Left" />
        <telerik:RadTileViewItem Header="Item 3 - Left" />
    </telerik:RadTileView>
    <telerik:RadTileView Background="LightBlue" Grid.Column="1">
        <telerik:RadTileViewItem Header="Item 0 - Right" />
        <telerik:RadTileViewItem Header="Item 1 - Right" />
        <telerik:RadTileViewItem Header="Item 2 - Right" />
        <telerik:RadTileViewItem Header="Item 3 - Right" />
    </telerik:RadTileView>
</Grid>

Of which the result is:



The best will be if you send me a sample project reproducing clearly the issue you are experiencing. This way I'll be better able to assist you.

All the best,
Kiril Stanoev
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
0
Jimmy
Top achievements
Rank 1
answered on 12 Apr 2011, 02:13 PM
Hey,

You can access to the files at the link below:
http://cid-cf257bf8abcc1e2e.office.live.com/browse.aspx/.Public/sample?uc=4

I'm trying to integrate both of the interface together into a single xml that by default it is in collapse mode.
Then, i can call it when ever i need to.
Any solution i can do so?

0
Petar Mladenov
Telerik team
answered on 15 Apr 2011, 01:59 PM
Hello Jimmy,

 We tried your project without providing a business data and we were unable to detect your issue completely. Could you please try to be more concrete when specifying your issue? You can work with x:names and this way we could get into your scenario quicker and provide you with a better advice. Thank you for your cooperation in advance.

Kind regards,
Petar Mladenov
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
0
Jimmy
Top achievements
Rank 1
answered on 15 Apr 2011, 04:27 PM
What i'm trying to ask here is i do not know the right way to bind 2 tile view into 2 different data template in a single xml. This is what i'm trying to ask from this forum. Perhaps, you can show me the right way to have 2 data template bind to 2 different tile view in a single xml. thank you.
0
Petar Mladenov
Telerik team
answered on 21 Apr 2011, 08:17 AM
Hi Jimmy,

This could be achieved like so:
<Window.Resources>
      <Style x:Key="firstStyle" TargetType="telerik:RadTileView">
          .....
      </Style>       
      <Style x:Key="secondStyle" TargetType="telerik:RadTileView">
          .....
      </Style>
 </Window.Resources>
   
 <Grid>   
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="300" />
      <ColumnDefinition Width="300" />
    </Grid.ColumnDefinitions>
    
    <telerik:RadTileView x:Name="leftTile" Style="{StaticResource firstStyle}" />
    <telerik:RadTileView x:Name="secondTile" Style="{StaticResource secondStyle}" Grid.Column="1"/>   
  </Grid>
Let us know if this helped you or not.

Regards,
Petar Mladenov
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
Jimmy
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Jimmy
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or