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

Prevent vertical resizing in Token mode

4 Answers 121 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 27 Sep 2012, 08:17 PM

How do you prevent the entry portion from resizing vertically when you add entries.  I would like it to overflow to the right and allow the user to scroll over.

Here's what I've tried:  (RadAutoCompleteBoxPopup is class applied to control)

.RadAutoCompleteBoxPopup .racInput { overflowscroll !importantmax-height25px !important; }



I would also like to be able to style the tokens as a whole.  Is this possible?

4 Answers, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 27 Sep 2012, 08:23 PM
I've also tried
.RadAutoCompleteBoxPopup .racTokenList { overflowscroll !importantmax-height25px !important; } 
0
Ivana
Telerik team
answered on 29 Sep 2012, 01:01 PM
Hello Brian,

The token container of RadAutoCompleteBox is a Div element which does not have a specified height therefore when the specified width of the control is reached the tokens are moved to the next line. You may specify certain height of the Div element but the input element in which the user is  allowed to type will still move to the next line when the end (width) of the control is reached. It is just that the control is not designed to be customized like that.

As for customizing the tokens, this is again not supported by RadAutCompleteBox although we are contemplating on it. It seems like a good feature to be added to the control -- if it turns out that it is achievable to develop such a feature you may see it in the future versions of RadAutoCompleteBox.

Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Roland Klug
Top achievements
Rank 1
answered on 18 Sep 2014, 03:05 PM
Hi,

preventing vertical scrolling would be a great feature! Instead, the tokens should just be concatenated horizontally, one after the other.

I would be very pleased if you could add that feature in one of the coming releases.

Thank you!
Roland
0
Bozhidar
Telerik team
answered on 19 Sep 2014, 07:18 AM
Hello Roland,

I've added your suggestion to our public feedback portal, where people can vote on it, and if it gets enough votes we will consider including it in the control.

http://feedback.telerik.com/Project/108/Feedback/Details/138354-single-line-autocompletebox-in-entry-mode

Regards,
Bozhidar
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.

 
Tags
AutoCompleteBox
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Ivana
Telerik team
Roland Klug
Top achievements
Rank 1
Bozhidar
Telerik team
Share this question
or