We're using the Autocomplete functionality for some textboxes.
We populate the AutoCompleteCustomSource with data from a database query using a datareader loop.
The data in the query is sorted by 'recently used', the most recently used entries are at the top.
Let's say the sequence op the AutoCompleteCustomSource is
'AM1900'
'AF2000'
'AD1950'
After typing an 'A' in the textbox, I would expect the Suggested (or Appended) value to be 'AM1900'
The suggested value however is always the first item from an alphabetically sorted AutoCompleteCustomSource list (i.e. 'AD1950')
Does anyone know how I can influence this behaviour?
Regards, Frank
We populate the AutoCompleteCustomSource with data from a database query using a datareader loop.
The data in the query is sorted by 'recently used', the most recently used entries are at the top.
Let's say the sequence op the AutoCompleteCustomSource is
'AM1900'
'AF2000'
'AD1950'
After typing an 'A' in the textbox, I would expect the Suggested (or Appended) value to be 'AM1900'
The suggested value however is always the first item from an alphabetically sorted AutoCompleteCustomSource list (i.e. 'AD1950')
Does anyone know how I can influence this behaviour?
Regards, Frank