Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

asp.net webform autocomplete textbox

Posted on 2009-05-07
5
Medium Priority
?
1,002 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
[X]
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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

722 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