Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,


I need to make a "Suggestion Box" inside my ASP.Net Page. How to include that?
Am i need to include some SCRIPT or anything else?


If i press "A" inside my textbox it should give the list of strings starts with alphabet "A" which was stored in my database.

How to do that? Please help me out....
Posted

This question asked so many times across this forum and even all forums, if you will search on google you will found many articles.
Anyway you can implement using JQuery Autocomplete OR AjaxToolkit Autocomplete
 
Share this answer
 
Comments
Christian Graus 1-Jul-11 5:24am    
Oh, he wants AUTO COMPLETE !!! I missed that entirely.
Parwej Ahamad 1-Jul-11 5:27am    
Yeh... Chris, but question is most popular in these days and many articles are available. But these guys don't want to spend time on Google :)
It's just a page. Create the page. Show it as a popup if you like. Buy a book on ASP.NET if these things are not immediately clear to you.
 
Share this answer
 
There are many ways to achieve what you want. Following are your options:

1) Use REST WCF and call it will javascript on onkeypress event of suggestion textbox.
2) Use JQuery.
3) Use LINQ
4) Search GOOGLE :D
 
Share this answer
 
Comments
Parwej Ahamad 1-Jul-11 5:22am    
4th option is good solution :)
Wild-Programmer 1-Jul-11 5:36am    
Yes :D, I personally like it very much.
Parwej Ahamad 1-Jul-11 5:47am    
:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900