Update TileView Error

20 posts, 2 answers
  1. Kelley Wong
    Kelley Wong avatar
    21 posts
    Member since:
    May 2010

    Posted 16 Mar 2011 Link to this post

    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
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 17 Mar 2011 Link to this post

    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
  3. DevCraft banner
  4. Kelley Wong
    Kelley Wong avatar
    21 posts
    Member since:
    May 2010

    Posted 17 Mar 2011 Link to this post

    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
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 17 Mar 2011 Link to this post

    Hello,

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

    Greetings,
    Vlad
    the Telerik team
  6. Bruno
    Bruno avatar
    54 posts
    Member since:
    Jul 2012

    Posted 17 Mar 2011 Link to this post

    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.
  7. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 17 Mar 2011 Link to this post

    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
  8. Bruno
    Bruno avatar
    54 posts
    Member since:
    Jul 2012

    Posted 17 Mar 2011 Link to this post

    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!
  9. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 17 Mar 2011 Link to this post

    Hello Bruno,

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

    Regards,
    Zarko
    the Telerik team
  10. Answer
    Dan Kane
    Dan Kane avatar
    8 posts
    Member since:
    Mar 2010

    Posted 17 Mar 2011 Link to this post

    I had the same issue, using MinimizedColumnWidth solved everything.
  11. Huang
    Huang avatar
    1 posts
    Member since:
    Feb 2011

    Posted 17 Mar 2011 Link to this post

    i have the same issue
  12. Kelley Wong
    Kelley Wong avatar
    21 posts
    Member since:
    May 2010

    Posted 17 Mar 2011 Link to this post

    Hi
    i have submited support ticket using another account "Huang Yong"
    looking forward to your reply

    Thanks
  13. Bruno
    Bruno avatar
    54 posts
    Member since:
    Jul 2012

    Posted 18 Mar 2011 Link to this post

    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!
  14. Answer
    Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 18 Mar 2011 Link to this post

    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
  15. Sascha
    Sascha avatar
    15 posts
    Member since:
    Aug 2010

    Posted 22 Mar 2011 Link to this post

    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>
  16. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 22 Mar 2011 Link to this post

    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
  17. Sascha
    Sascha avatar
    15 posts
    Member since:
    Aug 2010

    Posted 22 Mar 2011 Link to this post

    Hello,

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


    Greetings,
    Sascha
  18. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 22 Mar 2011 Link to this post

    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
  19. Sascha
    Sascha avatar
    15 posts
    Member since:
    Aug 2010

    Posted 22 Mar 2011 Link to this post

    Thank you very much, this solved my problem.
  20. Carson Dron
    Carson Dron avatar
    3 posts
    Member since:
    Jul 2012

    Posted 07 Apr 2011 Link to this post

    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.
  21. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 13 Apr 2011 Link to this post

    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
Back to Top
DevCraft banner