Scroll bar for autocompletebox

9 posts, 1 answers
  1. Ei Wai
    Ei Wai avatar
    56 posts
    Member since:
    Jul 2014

    Posted 02 Feb 2015 Link to this post

    Hello,

    I am trying to set the scrollbar for autocompletebox in token mode. Since my entries are quite a lot, it expended until I cannot see the rest of the entries. I want to make a scrollbar so that it is easier for user to see all the entries.  I tried setting height of the control but it is also not working. I tried searching for it but I found only dropdown scrollbar not the scrollbar for autcompletebox itself. How can I achieve this?

    Thank you.
    Best regards,
    Ei Wai
  2. Answer
    Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 06 Feb 2015 Link to this post

    Hello, Ei Wai.

    Would something like the attach file suffice?

    Regards,
    Ivan Zhekov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ei Wai
    Ei Wai avatar
    56 posts
    Member since:
    Jul 2014

    Posted 08 Feb 2015 Link to this post

    Hello Ivan,

    Thank you so much. That's exactly what I've been looking for. 

    Best regards,
    Ei Wai
  5. Albert Shenker
    Albert Shenker avatar
    550 posts
    Member since:
    Mar 2004

    Posted 08 Sep 2015 Link to this post

    Why is there no MaxHeight property available on this control? It seems like any control whose height can change client-side ought to have a MaxHeight property so that scrollbars can be displayed at appropriate times. For such a mature control, its kind of disappointing that such an obvious built-in property does not exist.

     

  6. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 10 Sep 2015 Link to this post

    Al, that's and excellent idea.

    There was a similar request for RadSearchBox, but both could be combined into a "single" feature set: to add DropDownSettings for all controls that have drop downs e.g.: combo, dropdownlist / tree, searchbox, autocompletebox and any future controls we may have.

    * Original idea feedback link: http://feedback.telerik.com/Project/108/Feedback/Details/45520-radsearchbox-dropdownsettings-maxheight-vs-height
    * This idea feedback link: http://feedback.telerik.com/Project/108/Feedback/Details/168855-dropdownsettings-for-all-controls-that-have-dropdowns

    Regards,
    Ivan Zhekov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Albert Shenker
    Albert Shenker avatar
    550 posts
    Member since:
    Mar 2004

    Posted 10 Sep 2015 in reply to Ivan Zhekov Link to this post

    ok, but just to be clear, I am not referring to the dropdownheight, or anything to do with the dropdown portion of the ​AutoCompleteBox. I am referring ​to the height of the box itself. This height changes as tokens are added. This a nice feature, in general, however, in some cases one would like to limit the height of the control (clearly due to lack of space). In these cases, the MaxHeight would be a nice property so the box does not grow beyond a certain height and scrollbars appear once it has reached that height. This can be accomplished through a bunch of CSS alterations, but again, why not a straightforward property of the control? That way the property can be set server-side which would be tough to do with CSS hacks.
  8. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 14 Sep 2015 Link to this post

    That's also an interesting suggestion. I suppose it could be in the InputSettings (or similar) category.

    There is one major caveat -- that setting will support only pixels, since percentage will not make sense. For instance, 50%... 50% of what? Would that be the parent container? Yeah, but what if the parent container is free floating in height?

    That requires a bit more thinking but is definitely doable.

    Regards,
    Ivan Zhekov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  9. Albert Shenker
    Albert Shenker avatar
    550 posts
    Member since:
    Mar 2004

    Posted 14 Sep 2015 in reply to Ivan Zhekov Link to this post

    The problem to solve is... as the input box is resized due to additional tokens being added, it goes off the screen. Frankly, I would prefer not to have to set a MaxHeight property at all. IMO it should behave like your dropdown controls, with scrollbars appearing once the input box has reached the ​window boundary. But a MaxHeight property set in PX or % would be fine.
  10. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 17 Sep 2015 Link to this post

    Logged. http://feedback.telerik.com/Project/108/Feedback/Details/169592

    Let me know if I missed something


    Regards,
    Ivan Zhekov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017