I used telerik autocompletetextbox to suggest matched words which is working. But my requirement is to start suggesting when more than 2 characters entered. Can anyone please help me to fix this issue?
Code i followed:
<telerik:RadAutoCompleteBox x:Name="acbCustomerCd" Width="203" Height="30" ItemsSource="{Binding}" DisplayMemberPath="AccountNum" TextSearchPath="AccountNum" AutoCompleteMode="Suggest" TextSearchMode="Contains" Margin="1,0,5,0" BorderBrush="#ffcccccc" SelectionMode="Single" TabIndex="109" KeyboardNavigation.TabNavigation="Local"/>
In code behind,
acbCustomerCd.ItemsSource = dtCustomerCd.DefaultView
In order to achieve this you will have to create a custom class deriving from the FilteringBehavior class, override the FindMatchingItems and return items only if the search string is more than 3 characters. After this you can initialize the new class in xaml and assign it to the RadAutoCompleteBox.
...