Fixing height of the MinimizedItemPanel

5 posts, 0 answers
  1. HDC
    HDC avatar
    214 posts
    Member since:
    Dec 2010

    Posted 13 Jan 2012 Link to this post

    I'm creating an application which use a similar UI as outlook. Per topic on the outlookbar i have include a custom usercontrol. For example for the Button "Images" i have included a RadTreeView in the outlookbar that will represent the directory structure of a harddrive. This works very well except when i minimize the outlookbar.

    When i minimze the outlookbar and i click on the button "Images", the panel flies out, but the if the tree contains many items, it will become bigger then the screen. Is there a way to limit the hight of the Minimized Panel, so that the treeview would display a scrollbar? I have found properties for MinimizedWidth, but not for height.

    I am using 2011/Q3

    Best Regards,

    Peter

  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 17 Jan 2012 Link to this post

    Hi Peter,

    Unfortunately there is a bug inside the RadOutlookBar and RadDropDownButton connected with this particular functionality. I've logged this issue in our PITS under the name "DropDownButton: Drop down content does not respect the screen size" and it will be available for tracking and voting tomorrow the latest. As a workaround, I'd suggest you give the TreeView a MaxHeight value which satisfies your scenario.

    I've also updated your Telerik point accordingly. Let me know how it goes.

    All the best,
    Kiril Stanoev
    the Telerik team

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

  3. DevCraft banner
  4. HDC
    HDC avatar
    214 posts
    Member since:
    Dec 2010

    Posted 17 Jan 2012 Link to this post

    Hi Kiril,

    While this solves the problem for overexpanding outside the screen... there are no scrollbars in the treeview, so we can not use this as a workarround.

    We will have to disable minimizing the panel.

    Best Regards,

    Peter





  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 20 Jan 2012 Link to this post

    Hi Peter,

     Well, we find this strange. Setting MaxHeight should turn on the ScrollViewers. Could you please check out our test project and let us know if we have missed something? Or just modify it so that the issue is reproducible if possible? Thank you in advance for your cooperation.

    Kind regards,
    Petar Mladenov
    the Telerik team

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

  6. HDC
    HDC avatar
    214 posts
    Member since:
    Dec 2010

    Posted 21 Jan 2012 Link to this post

    Hi Petar,

    Thanks a lot for putting a sample together. It's working now.

    Best Regards,

    Peter


Back to Top
DevCraft banner