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

RadTileViewItem Issue

2 Answers 169 Views
TileView
This is a migrated thread and some comments may be shown as answers.
azhar
Top achievements
Rank 1
azhar asked on 05 Apr 2011, 06:02 PM

Hi Telerik Team,
          Currently I've installed RadControls_for_WPF35_2011_1_0315_Dev.msi (Version : 2011.1.315.35) and I'm not able to use the following lines in my design, it shows error in design itself.

 

<telerik:RadTileView x:Name="tileEmployer" MinimizedItemsPosition="Right" MinimizedColumnWidth="300" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >

 

<telerik:RadTileViewItem Header="Employer" TileState="Maximized" >

 

<Grid Name="tileEmpMain" Margin="5" />

 

 

</telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem Header ="Contract" >

 

<Grid Name="tileContractLink" Margin ="5" />  

</telerik:RadTileViewItem >

 

</

 

 

telerik:RadTileView>

The following is the error it says:
Layout measurement override of element 'Telerik.Windows.Controls.TileViewPanel' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.

Please don't confuse here I'm using the Grid named tileEmpMain and tileContractLink. The content of the Grid will be set as the Children of someother Grid in my application. Thats why I just given that. I didn't face any problems while i was using the version 2010.3.1304.40. Hope the problem is in <telerik:RadTileViewItem>. Since, if I remove it I don't get errors. Please let me know how to overcome the issue.

Thanks and Regards,
Azharshah H
Software Developer

2 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 07 Apr 2011, 11:57 AM
Hello azhar,

 You may have this problem if your tileview is inside a ScrollViewer or a StackPanel, if this is the case than you'll have to set size to the RadTileView because it can't be measured with infinity when there's a maximized item. If this doesn't help you I'll ask you to send us a project which reproduces the issue.
If you have further questions feel free to ask.

Regards,
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
0
azhar
Top achievements
Rank 1
answered on 08 Apr 2011, 06:12 AM
Hello Zarko,
        Thanks for ur reply. I have set the TileState property as Maximized in the Code Behind and it is working now.

Regards,
Azharshah H
Software Developer
Tags
TileView
Asked by
azhar
Top achievements
Rank 1
Answers by
Zarko
Telerik team
azhar
Top achievements
Rank 1
Share this question
or