Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

asp.net webform autocomplete textbox

Posted on 2009-05-07
5
924 Views
Last Modified: 2013-12-17
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
Comment
Question by:dotnet0824
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:williamcampbell
ID: 24329299
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
 

Author Comment

by:dotnet0824
ID: 24329812
ok can i bring dataSet when the form loads and search the dataset without post back happening.
0
 

Author Comment

by:dotnet0824
ID: 24329820
how do i create autocomplete type . when typed it shows like autocompletetexbox. not sure at all
0
 

Author Comment

by:dotnet0824
ID: 24329823
can code be shown to achieve this textbox
0
 
LVL 12

Accepted Solution

by:
williamcampbell earned 500 total points
ID: 24330135
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question