Solved

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

Posted on 2016-08-24
6
78 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
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Wondering how you can get your new website ranking on Google Search so that people find you online?  The answer is Search Engine Optimization (SEO). So how do you Start Ranking a New site with SEO?  Below is a starter guide to get your new website S…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

943 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

5 Experts available now in Live!

Get 1:1 Help Now