Click here to Skip to main content
14,734,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to implement autocomplete with highlighting textblock ,but i cant achieve that till now



When the user enters Br in Autocomplete textbox I the autocomplete need to diplay the items as

Brain
Brash
Brassssssi


so how to achiev this ?

While browsing in internet i got the follwing link
http://www.jeff.wilcox.name/2008/11/highlighting-autocompletebox/[^]


But when trying that it's showing some invalid result like this

Brain
shan
John


so help me in this

Thanks in Advance
Posted
Updated 8-Mar-11 18:32pm
v2
Comments
Sandeep Mewara 8-Mar-11 3:12am
   
You have to elaborate more. Whats the issue. What is not working. Error? Issue?
Gopinath Sugumar 8-Mar-11 23:33pm
   
Hi Sandeep i have modified the question ,Ist clear now

1 solution

The solution given in this link should work for you.
Post some code here, maybe someone can help you with the style or figure out what you could be doing wrong.

From what I see posted, you search for BR and you get only those characters highlighted which is what the sample does.
So I dont see the problem.
   
v2
Comments
Gopinath Sugumar 9-Mar-11 23:19pm
   
Thanks Abhinav

Live demo is working fine ,but when u download the sample project from that link ,its not working fine,it's showing some invalid items

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