Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

asp.net webform autocomplete textbox

Posted on 2009-05-07
5
Medium Priority
?
1,031 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 2000 total points
ID: 24330135
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Loops Section Overview
Suggested Courses

885 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