Prevent vertical resizing in Token mode

5 posts, 0 answers
  1. Brian
    Brian avatar
    4 posts
    Member since:
    Sep 2012

    Posted 27 Sep 2012 Link to this post

    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?

  2. Brian
    Brian avatar
    4 posts
    Member since:
    Sep 2012

    Posted 27 Sep 2012 Link to this post

    I've also tried
    .RadAutoCompleteBoxPopup .racTokenList { overflowscroll !importantmax-height25px !important; } 
  3. Ivana
    Ivana avatar
    657 posts

    Posted 29 Sep 2012 Link to this post

    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.

    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.
  4. Roland Klug
    Roland Klug avatar
    28 posts
    Member since:
    Dec 2002

    Posted 18 Sep 2014 Link to this post


    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!
  5. Bozhidar
    Bozhidar avatar
    1189 posts

    Posted 19 Sep 2014 Link to this post

    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.


    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.

Back to Top