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

Fixing height of the MinimizedItemPanel

4 Answers 34 Views
OutlookBar
This is a migrated thread and some comments may be shown as answers.
HDC
Top achievements
Rank 1
HDC asked on 13 Jan 2012, 10:48 AM
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

4 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 17 Jan 2012, 02:23 PM
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 >>

0
HDC
Top achievements
Rank 1
answered on 17 Jan 2012, 09:12 PM
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





0
Petar Mladenov
Telerik team
answered on 20 Jan 2012, 02:18 PM
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 >>

0
HDC
Top achievements
Rank 1
answered on 21 Jan 2012, 08:07 AM
Hi Petar,

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

Best Regards,

Peter


Tags
OutlookBar
Asked by
HDC
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
HDC
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or