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

Tile view header disappearing after maximize and minimizing

7 Answers 144 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Nitin
Top achievements
Rank 1
Nitin asked on 31 Aug 2011, 04:44 PM
Hi,

We are using Telerik tileview control to display a presentation. We have ~10 images and all the images are visible initially in Tileview, with header text.

When I Maximize one of the image and minimize it again, the header text for the minimized images (placed in Minimized Row/Column) outside the current view disappeared. 

Can you please suggest a way to fix this issue?

7 Answers, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 01 Sep 2011, 01:30 PM
Hello Nitin,
Could you please tell us if you're using the UI Virtualization and if you're defining your RadTileViewItems in XAML (or add them in code behind but you add RadTileViewItems, not business objects)? Because in that case you will lose the RadTileViewItems headers when you virtualize an item. If this is your case I'll advise you to either turn off the virtualization (I don't think that it'll make any difference for 10-20 items) or use business items and bind the header and content.
If you have more questions feel free to ask.

Kind regards,
Zarko
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Nitin
Top achievements
Rank 1
answered on 01 Sep 2011, 02:44 PM
Hi,

I am not sure what you mean by UI virtualization, but I have added the image files in my silverlight project and all the RadTileViewItems are added in XAML. I am not setting or updating any properties in the code behind. I do not have any business objects.

Can you please elaborate a bit on UI virtualization and also tell me how to turn it off ?

Regards,
-Nitin

0
Accepted
Zarko
Telerik team
answered on 02 Sep 2011, 08:15 AM
Hi Nitin,
By UI Virtualization I meant if you've set the IsVirtualized property of the RadTileView to True.
I've created a simple application that have 10 RadTileViewItems with an image inside and you can see that if you haven't turn on the virtualization everything is fine, but if you turn it on and maximize an item you'll lose the headers of some of the other items.
Could you please examine the attached project and see if it helps you. If this doesn't help with your problem I'd like to ask you to send us some code snippets or better a project that reproduces the issue.

Kind regards,
Zarko
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Greg Duffield
Top achievements
Rank 1
answered on 21 Sep 2011, 03:03 PM
I am seeing a similar issue when I have got 12 Tiles and with virtulisation on if you scroll up then down the headers will all be empty, from your last response you seem to acknowledge that this was happening but you have not said how this can be prevented as otherwise does it not make the virtuisation option a bit hampered?

Thanks

Greg

0
Zarko
Telerik team
answered on 22 Sep 2011, 03:16 PM
Hi Greg Duffield,
The Virtualization of the RadTileView is meant to be used with ItemsSource, Bindings, DataTemplates and etc. and not with XAML defined items. That's why if you try to use it with XAML defined items you'll lose the Headers. If you use it with binding and DataTemplate you should not have any problems.
Also you may try to turn off the Virtualization and see how the application behaves, because I'm not sure it will make any difference if you have only 12 items.
I've attached a sample project for you to examine.

Greetings,
Zarko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Greg Duffield
Top achievements
Rank 1
answered on 22 Sep 2011, 04:10 PM
Xarko.

Thanks for this it all makes sense and is obvious when you think about it.

Excellent support, thanks.

Greg
0
Nitin
Top achievements
Rank 1
answered on 22 Sep 2011, 04:13 PM
I have tested both the scenarios ("defining items in XAML and setting virtualization to false" and "use a datasource to bind the items") and both options seems to work fine. Thanks for you help.

-Nitin
Tags
TileView
Asked by
Nitin
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Nitin
Top achievements
Rank 1
Greg Duffield
Top achievements
Rank 1
Share this question
or