Fluid content control

4 posts, 0 answers
  1. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 14 Apr 2010 Link to this post

    Hi everyone,

    I'm trying to set the different tresholdvalues, but for now still without success.
    I have a RadTileView with 2 TileViewItems.

    I set the tresholds for both the items like this
    <telerik:RadFluidContentControl Foreground="White" SmallToNormalThreshold="450 400" NormalToLargeThreshold="1000 500" 
                                                                           NormalToSmallThreshold="350 400" LargeToNormalThreshold="995 500" > 

    When i run my application the tilestate of the first element is maximized. Now when I change the width OR the height of my browserwindow, nothing happens and my application doesn't switch between the different contents. But when I change the height and with at the same time it more or less does the correct thing...

    Does anyone had some help for this ?

    Kind regards,

    Gertjan
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 14 Apr 2010 Link to this post

    Hi Grtjn,

    Good advice is to set the NormalToSmallThreshold to the same size as the SmallToNormalThreshold in order to avoid ambiguous situations in which there is a range of values that remains between the two adjacent thresholds (which results in a cycle).

    The same applies to the values of the NormalToLargeThreshold and LargeToNormalThreshold properties.

    Can you try this and let me know if it works for you.

    Sincerely yours,
    Tina Stancheva
    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.
  3. DevCraft banner
  4. Grtjn
    Grtjn avatar
    129 posts
    Member since:
    Feb 2010

    Posted 15 Apr 2010 Link to this post

    Hi Tina,

    First of all thanks for your reply!
    The advice you gave i had already found on the Telerik website.

    But still I did try this, but my issue remains the same. So I set the tresholds like this now :
    SmallToNormalThreshold="400 400" NormalToSmallThreshold="400 400"   
    NormalToLargeThreshold="600 600" LargeToNormalThreshold="600 600" 
     But still the width AND the height must have this value in order to switch between the different contents.
    Can't this be a bug? Because I think in several cases that it would be better if the width OR the height has a certain value, the content has to change.

    In my case I have a piechart in the normalcontent and an entire dashboard in the largecontent. My dashboard has a minimum width of 900, so when i set the normaltolarge and the largetonormal = 900 900, i never get to see the dashboard ... Hope you understand what i try to explain!

    Any help for this ?

    Kind regards,

    Gertjan
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 20 Apr 2010 Link to this post

    Hi Grtjn,

    I couldn't reproduce the issue you described.

    However, I prepared an example that demonstrates how you can use the RadFluidContentControl with RadTileView. Can you please give it a try and let me know if it works for you?

    If it doesn't illustrates your scenario correctly, please modify it accordingly and we will take a look at it and investigate your issue in detail.

    Greetings,
    Tina Stancheva
    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