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

Filename scenario?

2 Answers 38 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Will
Top achievements
Rank 1
Will asked on 11 Dec 2012, 08:11 PM
Is there any way to restrict the RACB to a single item?  In other words, change its behavior so that it appears like a textbox without boxing selected items?  I'm trying to use it to autocomplete a filename from the file system as the user types in a path.  It makes no sense that, when the user hits tab or enter, the filename gets boxed up with a little delete button.  

2 Answers, 1 is accepted

Sort by
0
Jonah
Top achievements
Rank 1
answered on 13 Dec 2012, 10:31 PM
You can set your selction mode to
SelectionMode="Single"  
that will take away the delete box
0
Soma
Top achievements
Rank 1
answered on 06 Apr 2013, 11:30 AM
Hi Jonah,

I need the SelectionMode to be Multiple, but we should restrict the user from having more than one selecteditem in the ACB textbox.

Thanks,
Somasundaram 
Tags
AutoCompleteBox
Asked by
Will
Top achievements
Rank 1
Answers by
Jonah
Top achievements
Rank 1
Soma
Top achievements
Rank 1
Share this question
or