This question is locked. New answers and comments are not allowed.
Im not sure if im doing something wrong but
i have searchtext bound to my data class
<telerik:RadAutoCompleteBox Grid.Column="1" Margin="2" HorizontalAlignment="Stretch" TabIndex="1" SelectionMode="Single" DisplayMemberPath="Z_No" x:Name="ddZ_No" BorderThickness="1" IsTabStop="False" TextSearchMode="StartsWith" AutoCompleteMode="SuggestAppend" Loaded="ddZ_No_Loaded" SelectionChanged="ddZ_No_SelectionChanged" > </telerik:RadAutoCompleteBox> Dim binding As New System.Windows.Data.Binding("Master") binding.Source = ExternalAddStock binding.Mode = Windows.Data.BindingMode.TwoWay ddZ_No.SetBinding(RadAutoCompleteBox.SearchTextProperty, binding) when a selection is made the textsearch property is not updated
i fixed that by forcing it in selectionchanged event
Private Sub ddZ_No_SelectionChanged(sender As System.Object, e As Telerik.Windows.Controls.SelectionChangedEventArgs) If ddZ_No.SelectedItem Is Nothing Then ddZ_No.SearchText = "" Else ddZ_No.SearchText = CType(ddZ_No.SelectedItem, Stock.ItemMaster).Z_No End IfEnd Subwhen the drop down is browsed the text is appended to the textbox
but it does not update the searchtext property
so if you click out of the box without hitting return the display shows a value that is not loaded in searchtext
and consequently does not update my bound object
see snapshots
is there a better way to do it
thanks
dco