RadTileView

8 posts, 0 answers
  1. Mily
    Mily avatar
    15 posts
    Member since:
    Jul 2009

    Posted 28 Oct 2009 Link to this post

    Guys,

    I really, really like the RadTileView control, it provides the functionality I have been looking for. However, I would like to confirm few things I am not clear about. I understand the fact control is still in beta phase but if it does provide the functionality I require, it’s not a problem for me to wait for Q3 release.
    • Can any combination of properties make RadTileView control behaving similar to RadOutlookBar, i.e. there is just one column, a number of RadTileViewItems are minimized (one below each other), and one item is in maximized state, I tried RadTileViewItem with conjunction in RadFluidContentControl  as well but no luck.
    • Can you please explain meaning of the following properties MaxColumns, MaxRows, MinimizedColumnWidth & MinimizedRowHeight, I thought I had a good understanding but after source code investigation I’m not sure if the behaviour is by design (especially there have been few bugs confirmed around MaxColumns property on this forum)

    Best Regards

    Milosz

  2. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 28 Oct 2009 Link to this post

    Hi Mily,

    If I understood your first question correctly, the answer would be no. The RadTileView control does not support the layout you described and currently we do not have plans to support it. If there is popular demand for such layout we would certainly consider implementing it, but you are our first customer to inquire about it so far. Can you please tell us what benefits you see in using TileView instead of OutlookBar to achieve the layout you described? Your feedback is very much appreciated.

    Regarding your second qurestion, beloq you can see a brief explanation for each of the properties you asked about:
    - MaxColumns: specifies the maximum number of columns when the TileViewItems are in "Restored" state
    - MaxRows: specifies the maximum number of rows when the TileViewItems are in "Restored" state
    - MinimizedColumnWidth: specifies the width of the column containing all minimized items, when there is a maximized item and the minimized items are docked either on the left or right hand side
    - MinimizedRowHeight: specifies the height of the row containing all minimized items, when there is a maximized item and the minimized items are docked either on the top or bottom side of the TileView

    There was a known bug with the MaxColumns property, but it will be resolved in the Q3 release next week. Did you find any other bugs?

    I hope I was able to make things at least a bit clearer. Please do not hesitate to ask if you have any other questions.

    Sincerely yours,
    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.
  3. DevCraft banner
  4. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 28 Oct 2009 Link to this post

    In conjunction with the RadTileView, it would also be helpful to understand the RadFluidContentControl, especially the threshhold vaues and how they work.  I know there have been a few bugs discovered with this control, but it's difficult to tell what is "normal" behavior without understanding how the threshholds actually work.  Can you provide additional information?
  5. Mily
    Mily avatar
    15 posts
    Member since:
    Jul 2009

    Posted 29 Oct 2009 Link to this post

    Tihomir,

    Thank you for the detailed explanation. The reason I would choose RadTileView instead of RadOutlookBar as I need to display few dashboards on the page as well as navigation elements and it does not look consistent. Please find attached test screen I put together to show you what I mean.

     

    Kind regards

     

    Milosz

  6. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 02 Nov 2009 Link to this post

    Hi guys,

    @Mily: Thank you for demonstrating the exact layout you are after. As I already said, it is not currently possible to achieve it with a single TileView control. You can build a similar layout using three TileViews, although minimizing and draggind tiles would be restricted to the parent TileView and will not be exactly what you want.

    @Gary: The RadFluidContentControl has three content properties, only one of which is visible at any given time. The way the visible content is changed is determined by the four available threshold properties. The names of these threshold properties are hopefully descriptive enough and signify the transition between two contents. E.g. the SmallToNormalThreshold is used to determine when the normal content will be shown, in the cases when the SmallContent is currently visible. Alternatively, the NormalToSmallThreshold property controls when the normal content will be hidden and the SmallContent shown. I will give a brief example:

    Let's say you have three visual elements that you want to show depending on the available space - SmallContent(200x200px), NormalContent(400x400px), LargeContent(600x600px). We set the FluidContentControl's corrsponding properties to hold our visual elements. Next, we need to set the threshold properties. Below are suitable values with brief explanations:

    SmallToNormalThreshold - (400, 400): we set it to the size of our normal content, which means that as soon as enough space is available to render our normal content, it will be shown. This threshold is used when there is relatively little available space and our small content is shown and the available space increases - when the space reaches the threshold, the normal content is displayed and the SmallContent is hidden.

    NormalToSmallThreshold - (399, 399): we set it to a size that is smaller than the SmallToNormalThreshold in order to avoid ambiguous situations. This threshold is used when the normal content is visible and the available space is decreasing. Thus, we set this threshold to a value just below the size of our normal content, which will hide it as soon as the available size is not enough to properly render the normal content.

    NormalToLargeThreshold - (600, 600): the reasoning here is the same as for the SmallToNormalContent.

    LargeToNormalContent - (599, 599): the reasoning here is the same as for the NormalToSmallContent.

    In case you need to specify only the width or height of a threshold, you can set the other value to 0 - this way it will be disregarded. Also, you are by no means restricted to use the RadFluidContentControl within a RadtileView.

    In the Q3 release we added a ContentChangeMode property which allows you to manually change the State of the control, and thus the visible content. When you set the property to "Manual", the thresholds are not considered and you are responsible for switching the visible content. Setting the property to "Automatic" makes the control use the thresholds instead.

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

    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.
  7. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 02 Nov 2009 Link to this post

    Tihomir, thanks for the reply.  That was a great explanation of the RadFluidContentControl .  I will assume that the values are specified as (Width, Height).
  8. Mily
    Mily avatar
    15 posts
    Member since:
    Jul 2009

    Posted 02 Nov 2009 Link to this post

    Tihomir,

    Thank you for the reply. That's exactly what I was going to do anyway - use three RadTileView controls, one for left hand side context navigation, one for "content" section and one for the dashboard on the right hand side. I see my question was misunderstood, so please let me clarify - see attched screenshot.

    Best Regards

    Milosz
  9. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 03 Nov 2009 Link to this post

    Hi guys,

    @Mily: I apologize for the misunderstanding. However, my answer would still be the same. The way minimized tiles are ordered cannot be changed at the moment. I guess you are aware of the alternatives, but just in case - for this section you can use a PanelBar, an OutlookBar, or several Expander controls.

    @Gary: Yes, you are right - when setting the threshold properties in XAML, they are in the format (Width, Height)

    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
DevCraft banner