Solved

Implementing Search as we type on a Textbox in .Net (For Address search)

Posted on 2016-08-24
6
70 Views
Last Modified: 2016-09-30
I am using .Net and want to implement a textbox that searches addresses and displays suggestions on a textbox.

The  user should be able to select a relevant address from the suggestions displayed and then use this address for some query further.

We have a table called "ADDRESSES" in the back end on SQL Server (We have 2008-R2 and 2016 available for use)
I think there can be caching or database based method..........

What is the best way to do this?
0
Comment
Question by:SHANCHAT972
  • 4
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
Ramkisan Jagtap earned 500 total points
Comment Utility
1
 

Author Comment

by:SHANCHAT972
Comment Utility
Thanks Ram. I found the documentation for the extender at this site as well:
http://www.ajaxcontroltoolkit.com/AutoComplete/AutoComplete.aspx
0
 

Author Comment

by:SHANCHAT972
Comment Utility
Is there any other way to implement this ?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 12

Assisted Solution

by:Ramkisan Jagtap
Ramkisan Jagtap earned 500 total points
Comment Utility
Hello SHANCHAT972,

Other way could be using JQuery  and a webservice to get the values from the database.
Please refer the following URL:
http://www.aspsnippets.com/Articles/Populate-jQuery-AutoComplete-TextBox-from-Database-using-Web-Service-in-ASPNet.aspx
1
 

Author Closing Comment

by:SHANCHAT972
Comment Utility
0
 

Author Comment

by:SHANCHAT972
Comment Utility
This is a good resource to return and select the ID of the selected information in the Textbox.

http://stackoverflow.com/questions/17349875/ajax-autocomplete-extender-and-get-id-of-selected-item
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

763 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

6 Experts available now in Live!

Get 1:1 Help Now