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.
Unfortunately, activation email could not send to your email. Please try again.

AutoCompleteControl custom matching routine

Thread ID:

Created:

Updated:

Platform:

Replies:

36186 Oct 21,2005 12:57 PM Nov 2,2005 02:17 PM Windows Forms 2
loading
Tags: Tools
Clinton Nielsen
Asked On October 21, 2005 12:57 PM

Hi, I need to customize the matching routine of an AutoCompleteControl. The documentation says that the PopulateListWithMatches function should be override, but nowhere does it indicate how that might be done. I made an attempt, but quickly realised that the currentText string was populated with the already autocompleted text, instead of just what the user had entered. This poses a problem because my custom matching routine will need to match against only the user entered text. I then tried setting AutoCompleteControl.MatchMode to Manual and then using the MatchItem event, but the event is never called. What I need basically, is an AutoCompleteControl that will suggest not only entries in the history list that start with the text the user enters, but also that contain the text the user enters. For example, if the user enters "his" the autosuggest list would contain entries like: Chisel Histogram History This Whisk Thanks much!

Anupama Roy [Syncfusion]
Replied On October 24, 2005 10:51 AM

Hi Tinclon, We have an open issue with AutoCompleteControl that the MatchItem Event is not getting fired when it is called.I am looking into this and will get back to you with more information soon. Thanks, Anu.

Clinton Nielsen
Replied On November 2, 2005 02:17 PM

Has there been any progress? I kind of need this asap. The documentation indicates that a better method than using the MatchItem routine is to override the PopulateListWithMatches function - but it gives no indication as to how this might be done. I don''t suppose you could give a short code snippet indicating how to use the PopulateListWithMatches method? Thanks again.

CONFIRMATION

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.

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.

;