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
2009-12-10 12:23:39
+1
A:
Have a look at this AjaxControlToolkit:AutoComplete Extender is another option
Pandiya Chendur
2009-12-10 12:24:51
+2
A:
use AJAX Autocomplete http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete.aspx
Muhammad Akhtar
2009-12-10 12:25:00
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
2009-12-10 17:54:14