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

Box in Single Selection Mode

1 Answer 17 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Lukas
Top achievements
Rank 1
Lukas asked on 14 Jan 2014, 10:07 AM
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?

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 17 Jan 2014, 11:44 AM
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 >>
Tags
AutoCompleteBox
Asked by
Lukas
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or