We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfTextBoxExt AutoComplete issue

Thread ID:





114906 Dec 13,2013 09:06 AM UTC Jan 20,2016 09:01 AM UTC WPF 6
Tags: SfTextBoxExt
Asked On December 13, 2013 09:06 AM UTC


I was testing the autocomplete feature of the SfTextBoxExt and I encountered a few issue with what I was trying to do.

1) My ItemSource is something like this :

When I hit "A", it suggest "AA", "AB", "AC", "A1" but it doesn't suggest me just "A". The same goes with "B" and other items that only contains one letters. I already set the MinimumPrefixChar to 1, but every time it won't display the one letter items in the suggestion dropdown.

2) Since it's just a few letters my SfTextBoxExt has a little witdth, but the suggestion dropdown displays larger data. I tried to increase the width of my StackPanel in the AutoCompleteItemTemplate but it didn't work.

Vignesh V [Syncfusion]
Replied On December 16, 2013 02:20 PM UTC

Hi Jean,

Query1: SuggestionBox doesnot display single character.

We would like to inform you that the suggestion box displays suggestions for the forthcoming letters. When a single character is entered, it is considered as a complete word and suggestion will not be displayed. In such condition, 'SuggestionMode' can be set to 'Equals' to display that particular Item. 

Query2:  Modifying width of SuggestionBox does not work.

We are able to reproduce the problem 'Unable to Modify Width of SuggestionBox for larger data'. We have logged a bug report and fix for this issue will be available in our upcoming Service Pack release which is scheduled to be released by the end of January 2014. Please visit our website periodically for updates regarding releases.

Please let us know if you have any queries.

Vignesh V

Replied On December 17, 2013 08:06 AM UTC

Hi Vignesh,

Thank you for your answer.

Setting the SuggestionMode to 'Equal' doesn't work for me, because if I entered 'A' it will display 'A', but it won't display 'AA', 'AB', 'AC' and 'A1'.
Is there is specific mode that will allow me to display all the suggestion containing the letter 'A', even the one with 1 letter ?

Vignesh V [Syncfusion]
Replied On December 19, 2013 04:32 PM UTC

Hi Jean,

We have prepared a sample that could meet your requirement of 'displaying Single letter in suggestion list'. In the sample we have used 'Custom' suggestion mode and created a method to filter all suggestions that starts with the entered Text.

Please find the sample in below link,

Please let us know if you have any queries.

Vignesh V

Replied On December 26, 2013 09:14 AM UTC

Hi Vignesh,

This worked perfectly, thank you very much.

Di Yin
Replied On January 20, 2016 03:39 AM UTC

I Have the same issue for version and I try to download the sample you provide, but it repost 404 error. the file not exists.

Sugapriya Mariappan [Syncfusion]
Replied On January 20, 2016 09:01 AM UTC

Hi Di Yin,

Sorry for the inconvenience caused

Please download the sample from the below link
Sample link:sftextboxextsample

In this sample, we have set the suggestion mode to custom and implemented a method called “MyFilter” to filter the suggestions that starts with the typed text

Please let us know if you need any other assistance



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon