poonam
poonam

Reputation: 1

search on dropdownlist items

I am creating dropdownlist in edit template of gridview, and I want to implement progressive search on dropdown item. Which means if i press 'm' it shows items starts with 'm' then if I press 'o' it will show items start with 'o'. Instead of this, I want items containing 'mo'.

I am using asp.net,c# 2.0

Upvotes: 0

Views: 1461

Answers (2)

Developer
Developer

Reputation: 8636

Check this article this was done by using a text box to search change acording to your requirements

http://www.highoncoding.com/Articles/205_Searching_Inside_the_GridView_Control.aspx

Upvotes: 0

Nix
Nix

Reputation: 58522

It sounds like you want autocomplete. Check out this ajax toolkit example. Ajax Toolkit provides you with a built in custom control that does exactly what you are looking for, the link I posted should have all that you need.

Upvotes: 1

Related Questions