Height of autocomplete

2 posts, 0 answers
  1. Dan
    Dan avatar
    13 posts
    Member since:
    Nov 2009

    Posted 04 Apr 2013 Link to this post


    I have an AutoComplete defined like:
    <telerik:RadAutoCompleteBox ID="ctrlBox"
                   Delimiter=" "
                   OnClientRequesting="requesting" >
                   <WebServiceSettings Path="Service.svc" Method="Search" />

    The problem is when a value that exceeds 400px is in the box it expands the box to two lines with the second line being blank.

    All the text stays on the first line and gets cutoff (which is fine). Is there a way to specify the box only be one line or give it a height? I just want to get rid of that second blank line. Clicking out of the box or pressing "backspace" does not remove the line.

    The only way to get rid of the line is to delete the >400px entry and the box will collapse back to one line.
  2. Nencho
    Nencho avatar
    1446 posts

    Posted 09 Apr 2013 Link to this post

    Hello Daniel,

    I am afraid to inform you, that the desired functionality is currently not supported. Therefor, I would suggest you to set the RadAutoCompleteBox' width to a value, which would not be exceeded by any entry's text.

    All the best,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top