• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1046
  • Last Modified:

asp.net webform autocomplete textbox

i have asp.net website. Its not an ajax page. How can i create autocomplete textbox integrated with database without using ajax. Is there any code available.
0
dotnet0824
Asked:
dotnet0824
  • 3
  • 2
1 Solution
 
williamcampbellCommented:
When the user logs in you can use a WebService to Extract his history from the Database and embed the data in the page.

You can then subclass the text control and capture the keystrokes  as he types compare the letters to the data you have saved and fill the textbox.

So you would need:
1) Database connection
2) Webservice that reads database info
3) Webservice that sends data to a calling web page
4) Subclassed Textbox that intercepts keystrokes

Seems like a lot of work!


0
 
dotnet0824Author Commented:
ok can i bring dataSet when the form loads and search the dataset without post back happening.
0
 
dotnet0824Author Commented:
how do i create autocomplete type . when typed it shows like autocompletetexbox. not sure at all
0
 
dotnet0824Author Commented:
can code be shown to achieve this textbox
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now