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

URGENT: Silverlight 4 update changes the look

3 Answers 30 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Abdulrahman Omran
Top achievements
Rank 1
Abdulrahman Omran asked on 27 Apr 2011, 03:30 AM
Hi,

A few users have updated their silverlight 4 version from (4.0.51204.0) to (4.0.60310.0) and all of a sudden the tileviews started to look differently.

Attached are two images to illustrate the changes in the visual aspects between silverligth 4.0.51204.0 and 4.0.60310.0.

p.s. with some testing i found that this issue appears when using the telerik controls release last week (2011.1 419).


I would love to hear from you asap as clients are already using the system and updating to the newest silverlight version is something I can't control.


Thank you,
Abdul

3 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 27 Apr 2011, 11:01 AM
Hi Abdulrahman Omran,

 Could you please try to set the MinimizedRowHeight property of the RadTileView to something like 50? If this doesn't help I'd like to ask you to give us some code snippets on how you define the RadTileView and its items and tell us with which version of the dlls was the correct behavior observed. 

Kind 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
Abdulrahman Omran
Top achievements
Rank 1
answered on 27 Apr 2011, 11:58 PM
Hi Zarko,

I already set the MinimizedRowHeight to 42 and unfortunately this doesn't solve the issue. 
The correct behaviour was observed on version 2011.1.0315.1040 of the dlls. 

I will try to prepare a sample solution that illustrates the issue. 

Kindest Regards,
Abdul 
0
Zarko
Telerik team
answered on 03 May 2011, 09:40 AM
Hi Abdulrahman Omran,

 Could you tell us if you set Height or VerticalAlignment because I was able to get a result similar to yours only with this combination:

<telerik:RadTileView x:Name="myTileView"
            MaximizeMode="One"
            MinimizedItemsPosition="Top"
            MinimizedRowHeight="42"
            PreservePositionWhenMaximized="True"
            TilesStateChanged="myTileView_TilesStateChanged">
    <telerik:RadTileViewItem Height="400" VerticalAlignment="Bottom">1</telerik:RadTileViewItem>
    <telerik:RadTileViewItem >2</telerik:RadTileViewItem>
    <telerik:RadTileViewItem >3</telerik:RadTileViewItem>
</telerik:RadTileView>
and 
private void myTileView_TilesStateChanged(object sender, Telerik.Windows.RadRoutedEventArgs e)
{
    foreach (var item in this.myTileView.Items)
    {
        var container = this.myTileView.ItemContainerGenerator.ContainerFromItem(item) as RadTileViewItem;
 
        if (container != null)
        {
            if (container.TileState == TileViewItemState.Maximized)
            {
                container.VerticalAlignment = System.Windows.VerticalAlignment.Bottom;
                container.Height = 400;
            }
            else
            {
                container.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;
                container.Height = double.NaN;
            }
        }
    }
}
If this not the case I'm not sure if I'll be able to help you until we get some more information.
If you need further assistance please 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
Abdulrahman Omran
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Abdulrahman Omran
Top achievements
Rank 1
Share this question
or