Solved

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

Posted on 2016-08-24
6
98 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
[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
  • 4
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
Ramkisan Jagtap earned 500 total points
ID: 41770065
1
 

Author Comment

by:SHANCHAT972
ID: 41770559
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
ID: 41778672
Is there any other way to implement this ?
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 12

Assisted Solution

by:Ramkisan Jagtap
Ramkisan Jagtap earned 500 total points
ID: 41779286
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
ID: 41781975
0
 

Author Comment

by:SHANCHAT972
ID: 41824127
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
SEO can be a real minefield to navigate, but there are three simple ways to up your SEO game just be re-assessing your content output.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

752 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