views:

222

answers:

4

i have area list in alphabet wise, i want to display it when i enter first letter in my textbox. Autocomplete code in C#

+1  A: 

If jQuery is an option, you could take a look at the Autocomplete plugin.

Darin Dimitrov
+1  A: 

Have a look at this AjaxControlToolkit:AutoComplete Extender is another option

Pandiya Chendur
A: 

If Silverlight is one of your options, then it will be a cake job:

Xaml:

<input:AutoCompleteBox x:name="myAutoCompleteBox"></input:AutoCompleteBox>

Code behind,

myAutoComplete.ItemsSource = "a b d e f g".Split(' ');

You can bind other events TextChanged(), SelectionChanged(), or do custom value bindings, custom filtermode.

Jay Zeng