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

[Solved] Binding SelectedItem

1 Answer 76 Views
AutoCompleteBox for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bartlomiej
Top achievements
Rank 1
Bartlomiej asked on 09 Jul 2013, 06:03 PM
Hello!

In my scenario I'm using two autocomplete controls - one is placed in normal view, and the second one is placed in snapview.
Is it possible to set selected item to second autocomplete when in the first one selection has been changed?
I don't see any method for that.
The only thing I can do i set a suggestion text.

Best regards.

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 10 Jul 2013, 11:47 AM
Hello Bartlomiej,

Thank you for contacting us.

Indeed you cannot achieve the desired effect with the SelectedItem property. The concept for selection (and SelectedItem) in the current version of RadAutoCompleteBox is one-way i.e. we set the SelectedItem property on user interaction with the suggestions popup only; then once you type or delete a character in the input field, we immediately invalidate the selection (set SelectedItem property to null) and no further selection action is triggered unless there is new user interaction with the popup and the suggestion list.

Could you please elaborate a bit more on the scenario in which binding to the Text property of the AutoCompleteBox does not work for you?

I look forward to your reply.

Regards,
Rositsa Topchiyska
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
AutoCompleteBox for XAML
Asked by
Bartlomiej
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question
or