DropDownTree Popup Size

3 posts, 0 answers
  1. Adam
    Adam avatar
    3 posts
    Member since:
    Mar 2016

    Posted 05 Dec 2016 Link to this post

    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. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    358 posts

    Posted 08 Dec 2016 Link to this post

    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.
  3. Adam
    Adam avatar
    3 posts
    Member since:
    Mar 2016

    Posted 08 Dec 2016 in reply to Veselin Tsvetanov Link to this post

    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

Back to Top