Solved

asp.net webform autocomplete textbox

Posted on 2009-05-07
5
878 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
Comment Utility
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
Comment Utility
ok can i bring dataSet when the form loads and search the dataset without post back happening.
0
 

Author Comment

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

Author Comment

by:dotnet0824
Comment Utility
can code be shown to achieve this textbox
0
 
LVL 12

Accepted Solution

by:
williamcampbell earned 500 total points
Comment Utility
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now