The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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!
ARAnupama Roy Syncfusion Team October 24, 2005 02:51 PM UTC
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.
CNClinton NielsenNovember 2, 2005 07:17 PM UTC
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.