Box in Single Selection Mode

2 posts, 0 answers
  1. Lukas
    Lukas avatar
    7 posts
    Member since:
    Sep 2012

    Posted 14 Jan 2014 Link to this post

    Hi, I really like the box with the little 'x' that is displayed in multi-select mode. However, in single-select mode it is gone. Is it possible to have that box in single select mode?
  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 17 Jan 2014 Link to this post

    Hi Lukas,

    You could achieve the desired scenario by modifying the default ControlTemplate in the RadAutoCompleteTextBoxStyle in order to include that button. Afterwards you will just need to implement the functionality to remove the selected item when that button is pressed and to hide it when there isn't any SelectedItem. I have prepared a sample project which demonstrates the exact approach (note that I have used Implicit Styles in order to apply the theme).

    Hope this helps.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top