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

Update TileView Error

19 Answers 196 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Kelley Wong
Top achievements
Rank 1
Kelley Wong asked on 17 Mar 2011, 03:53 AM
Today I update the telerik silverlight from 2010.3 1314 to 2011.1 315 ,the TileView is not very well

the maximize or min button is useless

and when i double click the header ,it shows just like the attachment

you can see just part of the page

19 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 17 Mar 2011, 10:06 AM
Hi Kelley Wong,

 Could you please send us some code snippets or a project that reproduces this issue because I can't determine what goes wrong only by the picture.

Kind regards,
Zarko
the Telerik team
0
Kelley Wong
Top achievements
Rank 1
answered on 17 Mar 2011, 11:45 AM
HI,

  the project is larger than 2M
so i can't show you the project

can u give an email or other that i can give u the code project
0
Vlad
Telerik team
answered on 17 Mar 2011, 12:16 PM
Hello,

 You can open support ticket in order to attach the project. 

Greetings,
Vlad
the Telerik team
0
Bruno
Top achievements
Rank 1
answered on 17 Mar 2011, 01:04 PM
Hello

Same problem here.
Each TileViewItem is painted over the next TileViewItem and located on the upper left corner.

I tried to make a simpler page in my project - but even there, the TileViewControl will not work properly.
I use the TileViewItems to paint UserControls. The TileView and its Items are designed in XAML - no use of TileView.ItemsSource.

Thanks for your support.
0
Zarko
Telerik team
answered on 17 Mar 2011, 03:55 PM
Hello Bruno,

 If you have this problem when there's a MaximizedItem could you please try to set the MinimizedColumnWidth and MinimizedRowHeight properties and see if this helps. Also could you please examine the attached project and try to reproduce the issue with it?

Kind regards,
Zarko
the Telerik team
0
Bruno
Top achievements
Rank 1
answered on 17 Mar 2011, 06:35 PM
Thank you for the sample project. This one works perfect.

But not my project. I set the two Properties - with no effect.

Any other idea what it could be?
Find attached a Screenshot of the upper left corner.

Thank you!
0
Zarko
Telerik team
answered on 17 Mar 2011, 07:54 PM
Hello Bruno,

 Could you tell me what's the RadTileView in (a Grid, a StackPanel etc.) ?

Regards,
Zarko
the Telerik team
0
Accepted
Dan Kane
Top achievements
Rank 1
answered on 17 Mar 2011, 11:11 PM
I had the same issue, using MinimizedColumnWidth solved everything.
0
Huang
Top achievements
Rank 1
answered on 18 Mar 2011, 02:20 AM
i have the same issue
0
Kelley Wong
Top achievements
Rank 1
answered on 18 Mar 2011, 02:26 AM
Hi
i have submited support ticket using another account "Huang Yong"
looking forward to your reply

Thanks
0
Bruno
Top achievements
Rank 1
answered on 18 Mar 2011, 08:48 AM
I solved the problem - temporary.
The problem is out self-made Theme. Have to check what's wrong with it.

Maybe you have some points to look for when moving Themes (wokring with Q3.2010) to Q1.2011?

Thank you!
0
Accepted
Zarko
Telerik team
answered on 18 Mar 2011, 03:29 PM
Hello Bruno,

 Yes, if you use custom a theme or you've edited the template of the RadTileView or the RadTileViewItem there's a great possibility that the RadTileView won't behave as expected. Because of the virtualization the RadTileViews template is very different now, it uses its own panel - TileViewPanel and a build-in ScrollViewer. The RadTileViewItem now uses a RadToggleButton for the Minimize/Maximize button instead of a ToggleButton and there are a couple of new VisualStates/Triggers(for the MaximizeItemDocking).
If you have further questions feel free to ask.

Best wishes,
Zarko
the Telerik team
0
Sascha
Top achievements
Rank 1
answered on 22 Mar 2011, 11:16 AM
Hello,

I have updated the telerik controls to the new version 2011 Q1.
Atfer that, the radTileView is not working any more. Minimize, Maximize and so on are not working, the content is not properly displayed.

I removed the themes, but no success. It is also damaged within visual studio. Below the SCreenshots of the IDE an the running verison plus the xaml code.

Any idea how to fix this? It is very anoying, that every new version creates difficulties in the way that former running parts are not working any more.

Greeting,
Sascha
<Grid x:Name="LayoutRoot" Background="#FFEBF3FF">
            <Grid.Resources>
                <local:GridLengthConverter x:Key="Converter" />
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition x:Name="column" Height="250" />
        </Grid.RowDefinitions>
        <telerik:RadTileView MinimizedColumnWidth="100" Name="radTileView1"
                             IsAnimationOptimized="True"
                MinimizedItemsPosition="Bottom"
                              MaximizeMode="ZeroOrOne"
                              Grid.RowSpan="2"
                              MinimizedRowHeight="{Binding Height, ElementName=column, Mode=TwoWay, Converter={StaticResource Converter}}">
            <telerik:RadTileView.ItemsPanel>
                    <ItemsPanelTemplate>
                        <Canvas Background="{x:Null}" />
                    </ItemsPanelTemplate>
                </telerik:RadTileView.ItemsPanel>
            <telerik:RadTileViewItem TileState="Minimized">
                <local:HistogramTableView x:Name="HistogramTableView1" />
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem  TileState="Minimized">
                <local:HistogramGraphView x:Name="HistogramGraphView1" />
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem  TileState="Minimized">
                <local:HistogramBereichView  x:Name="HistogramBereichView1" />
            </telerik:RadTileViewItem>
             
        </telerik:RadTileView>
        <sdk:GridSplitter Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="5"
                    Background="DarkGray" Margin="0 7" />
    </Grid>
0
Zarko
Telerik team
answered on 22 Mar 2011, 01:44 PM
Hello Sascha,

 The problem is that you change the ItemsPanel of the RadTileView - as I mentioned in my previous post, because of the virtualization and some other new features, the RadTileView now uses its own panel - TileViewPanel and you should not change this. If you want to set the background to null you should do it like this:

<telerik:RadTileView.ItemsPanel>
    <ItemsPanelTemplate>
        <telerik:TileViewPanel Background="{x:Null}" />
    </ItemsPanelTemplate>
</telerik:RadTileView.ItemsPanel>
If you have further questions feel free to ask.

All the best,
Zarko
the Telerik team
0
Sascha
Top achievements
Rank 1
answered on 22 Mar 2011, 02:18 PM
Hello,

I changed the background as you suggested, but now it looks like the attached screenshot.
So something is still not working.


Greetings,
Sascha
0
Zarko
Telerik team
answered on 22 Mar 2011, 02:44 PM
Hello Sascha,

 Does this issue occurs when you have a maximized item? If this is the case could you please try to remove the converter for the MinimizedRowHeight - this property is now of type GridLength and you can bind it directly to the Height property of the row. I've also attached the sample project in which I test this so you could take a look at it if you want.
I'll be waiting to hear from you if this helped you.

Regards,
Zarko
the Telerik team
0
Sascha
Top achievements
Rank 1
answered on 22 Mar 2011, 04:49 PM
Thank you very much, this solved my problem.
0
Carson Dron
Top achievements
Rank 1
answered on 08 Apr 2011, 01:54 AM
I've had the same problems mentioned in this thread (as well as quite a few others) and it's taken me 4 days to sort them out, mostly because it's been very difficult to diagnose which component was causing the issue. All I was getting was very generic errors like "key not found in dictionary" and "COM component has thrown an error". Eventually I found out that the RadTileView control had been refactored which broke the custom templating that we are using.

What I find disappointing is that the RadTileView control was refactored but no mention was made of this in the release notes (which I always read). If I had read something about how customised tile views will probably not work with the new version then I would have been able to start looking there as to the cause of our problem. We are used to having to sort out minor issues when upgrading to new version of the controls, but for our application to be completely broken for no apparent reason was quite frankly a shock. This has cost us a lot of time on a critical project and I hope that Telerik can be more communicative in future when making such changes.
0
Petar Mladenov
Telerik team
answered on 13 Apr 2011, 11:57 AM
Hi Carson Dron,

We appreciate your feedback and we'll try to be more attentive in next releases. In such situations when a control template of our control has been refactored, we usually want the custom style from the client and we fix it. Please accept our apologies again for the caused inconvenience.

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
Tags
TileView
Asked by
Kelley Wong
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Kelley Wong
Top achievements
Rank 1
Vlad
Telerik team
Bruno
Top achievements
Rank 1
Dan Kane
Top achievements
Rank 1
Huang
Top achievements
Rank 1
Sascha
Top achievements
Rank 1
Carson Dron
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or