Click here to Skip to main content
15,936,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I am developing an asp.net c# application.
I need to implement a textbox in which the user enters a character (or more
then 1) and a dropdownlist is filled according to that character (it is filled
with all of the strings the begin with that character). it's like an
auto-complete control. I want to do sql connection. when i enter any character in autocomplete textbox it should display d string starting with that character when i select any string it should display relevant field of selected string in dropdown list.
How can i do that?
Please help me
Posted

1 solution

Ajax control toolkit has this type of extension.. if you are using ASP.NET Ajax go with this..

http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/autocomplete/autocomplete.aspx[^]

for an example please redirect to this page:
ASP.NET AJAX Auto Complete Example Using AutoCompleteExtender Control[^]
 
Share this answer
 
v2

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



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