Click here to Skip to main content
15,919,434 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to make my autocomplete suggestion with list array,by not using database.
I googled a lot,but getting only sample of autocomplete with database as its source.
I want to make autocomplete with list array as source.

Is it possible?

What I have tried:

Suppose this is my list.

C#
List <string> lst = new List<string>();
lst.Add("Rose");
lst.Add("White");

WebMethod
public static List fetchFlower(string prefixText)
{
}

How I should start in webmethod.Please suggest me something.
I want to thank this site,for helping me always,by prompt reply.
Posted
Updated 8-Jan-17 23:50pm
v2
Comments
F-ES Sitecore 9-Jan-17 3:52am    
You'll need to say what you're using to implement autocomplete. Is it the jQuery UI plug in? Or Something else?

1 solution

 
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