Automatically Selected Items

5 posts, 1 answers
  1. Jeff
    Jeff avatar
    3 posts
    Member since:
    Aug 2014

    Posted 13 Aug 2014 Link to this post

    I am trying to get the autocompletebox to not select any results from the drop down list of values. It seems as soon as any results are displayed the first result is always selected by default so if you hit enter or click a button to process it will ignore any part string you may have there and instead take the selected value.

    I would like the autocompletebox to act more like the google search box for example where no value is selected by default and will instead take your inputted string as the default value.

    I have tried using the clientside API to no avail to deselect the item.

    Any help would be appreciated.
  2. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 15 Aug 2014 Link to this post

    Hi,

    Did you try to set the "DefaultMessage" property:

    DefaultMessage
    ="Select..."

    Otherwise you may deselect the first item by simply pressing the upper arrow on your keyboard. Once the item is deselected it will not select the first item when the RadAutoCompleteBox lost the focus.


    Regards,
    Helen
    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. Jeff
    Jeff avatar
    3 posts
    Member since:
    Aug 2014

    Posted 17 Aug 2014 in reply to Helen Link to this post

    Thanks for your reply. I have explained to our users how the autocomplete works by default by pressing the up arrow. I am however still receiving complaints that it does not seem intuitive enough for our search functions. They still want it to work by not selecting a result by default. Is there a way to achieve this?
  5. Answer
    Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 18 Aug 2014 Link to this post

    Hello Jeff,

    As from Q2 2014 SP1 we addressed this functionality by the possibility to manage the feature by the HighlightFirstMatch property. You could simply set it to false and the first item will not be highlighted by default.

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

     
  6. Jeff
    Jeff avatar
    3 posts
    Member since:
    Aug 2014

    Posted 18 Aug 2014 in reply to Nencho Link to this post

    Awesome, thanks.

    That is just what I wanted to hear :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017