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

DropDownTree Popup Size

2 Answers 96 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 05 Dec 2016, 04:58 PM

I have a DropDownTree displaying within a popup window whose contents can be lengthy and scroll.  If the DropDownTree element is near the bottom of the window (due to the scroll position) and the user activates the tree, it is possible for only a tiny bit to show (sometimes even just the "Filter" area).  The control is seems to properly restricting size to keep it within the screen bounds.

Is there any way to have it pop "up" when it would be too small to fit going down (this would be similar to how the RadComboBox would work)?

Thanks for any input or suggestions!
Adam

2 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 08 Dec 2016, 08:57 AM
Hello Adam,

To achieve the desired, you will have to enable the â€‹ScreenBoundaryDetection and the â€‹DirectionDetection of the DropDownTree:
<telerik:RadDropDownTree runat="server"
    ID="ddt1"
    RenderMode="Lightweight"
    EnableFiltering="true"
    EnableScreenBoundaryDetection="true"
    EnableDirectionDetection="true">
</telerik:RadDropDownTree>

Regards,
Veselin Tsvetanov
Telerik by Progress
Telerik UI for ASP.NET AJAX is ready for Visual Studio 2017 RC! Learn more.
0
Adam
Top achievements
Rank 1
answered on 08 Dec 2016, 04:04 PM

Thank you very much, Veselin.  I was aware of, and had set, the Screen Boundary Detection but was unaware of the Direction Detection.  Once enabled it worked as desired.

Adam

Tags
DropDownTree
Asked by
Adam
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Adam
Top achievements
Rank 1
Share this question
or