Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Can anybody help me I need code to make a drop down list with predictive text and the records will be coming from the database. I need to do this via ajax.

Kind Regards and Thanks in Advance!
Nifty
Posted
Comments
Manfred Rudolf Bihy 30-Mar-11 8:55am    
I have some predictive text for you: "If you don't elaborate some more on what you mean by 'predictive text' you are not going to get an answer".
Thus endeth my prediction.
Sandeep Mewara 30-Mar-11 9:36am    
Reply from OP:
okay thanks
predictive text meaning the drop down list must filter the records according to what the user is typing
lukeer 30-Mar-11 9:10am    
A formal problem: The solution you posted actually is a clarification to your question and should go
a) as a comment like this one replying to Manfred, or
b) into your question as an edit.
That would keep your question in the "Unanswered questions" list.

On the topic:
I guess the dropdown list shall stay open while the user is typing?
And the more he is typing the less entries should be left in the list?
Sandeep Mewara 30-Mar-11 9:36am    
Reply from OP:
Yes that's exactly what I need and records being filtered will be from the database.
Nifty Morafo 30-Mar-11 9:42am    
Can anybody help ?

Please google for "ASP.NET Autosuggest" that will take you into the right direction.

Cheers!
 
Share this answer
 
This is Link where u find Exact control u Want.

http://www.obout.com/combobox/aspnet_filtering.aspx[^]

Just download the dll and use.

Hope it helps.
 
Share this answer
 

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