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

Scroll bar for autocompletebox

8 Answers 130 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Ei Wai
Top achievements
Rank 1
Ei Wai asked on 03 Feb 2015, 02:05 AM
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

8 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Zhekov
Telerik team
answered on 06 Feb 2015, 07:25 AM
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.

 
0
Ei Wai
Top achievements
Rank 1
answered on 09 Feb 2015, 01:37 AM
Hello Ivan,

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

Best regards,
Ei Wai
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 08 Sep 2015, 09:50 PM

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.

 

0
Ivan Zhekov
Telerik team
answered on 10 Sep 2015, 12:57 PM
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
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 10 Sep 2015, 01:45 PM
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.
0
Ivan Zhekov
Telerik team
answered on 14 Sep 2015, 05:05 PM
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
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 14 Sep 2015, 05:38 PM
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.
0
Ivan Zhekov
Telerik team
answered on 17 Sep 2015, 01:38 PM
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
Tags
AutoCompleteBox
Asked by
Ei Wai
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Ei Wai
Top achievements
Rank 1
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Share this question
or