Click here to Skip to main content
15,888,301 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using below code to show the list in AutoComplete.

VB
Dim gridTextBox As TextBox = DirectCast(e.Control, TextBox)
gridTextBox.CharacterCasing = CharacterCasing.Normal
gridTextBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend
gridTextBox.AutoCompleteSource = AutoCompleteSource.CustomSource
gridTextBox.AutoCompleteCustomSource = mAutocompleteLookupDescription.AutoCompleteSource


and the following line of code :

gridTextBox.AutoCompleteCustomSource = mAutocompleteLookupDescription.AutoCompleteSource


is giving me the correct number of list like

TEST1
test1
VALUE
value


but as soon as i am showing this in my gridview cell it's showing only once(removing the duplicate value), means it's removing the duplicate value which different in case.

Is it Autocomplete restriction from microsoft?, if yes, can i have the link which proves this.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900