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

Fluid Width/Height - Images/Performance

1 Answer 47 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 02 Oct 2009, 01:51 PM
Take the FirstLook example of the TileView.

Remove the height/width attributes and set Margin to 0, effectively making the height and width dynamic.
(To test you'll also need to set the LayoutRoot's margin to 0)

Run that, and the images are suddenly out of control, and the performance seems to plummet.

1 Answer, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 07 Oct 2009, 08:37 AM
Hi Jeff,

The TileView exampe uses RadFluidControls inside each RadTileViewItem. These RadFluidControls have a number of threshold properties which determine at what point the visible content is changed. So, when you remove the preset width and height, you are effectively rendering the RadFluidControl threshold values inappropriate, since those values are specific to the original width and height of the tileview. Thus, you are not observing a bug in the TileView control, but rather an expected behavior caused by the RadFluidControl thresholds.

I hope I was able to make things a bit clearer. Let me know if you have any questions.

Kind regards,
Tihomir Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TileView
Asked by
Jay
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Share this question
or