Fluid Width/Height - Images/Performance

2 posts, 0 answers
  1. Jay
    Jay avatar
    62 posts
    Member since:
    Sep 2005

    Posted 02 Oct 2009 Link to this post

    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.
  2. Tihomir Petkov
    Tihomir Petkov avatar
    576 posts

    Posted 07 Oct 2009 Link to this post

    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.
Back to Top