Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox DropDownStyle
Message
From
16/03/2004 10:08:35
 
 
To
15/03/2004 16:25:38
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00886490
Message ID:
00886676
Views:
17
Jerry,

There was a thread about this topic, Incremental Search or Auto-Complete (whichever you prefer to call it), several months ago. Cathi posted this link: http://www.codeproject.com/vb/net/autocomplete_combobox.asp
Apparently this isn't intended for the DropDownStyle of DropDownList (I haven't really studied the code), but I'm sure that looking at the example will give you ideas of how to hack it to make it work with a DropDownList type of combo.

~~Bonnie

>I created a WinForm with a ComboBox. I set the DropDownStyle = DropDownList.
>
>When I run my form and tab onto the ComboBox, I can type the first letter of the selection I want in the dropdown list and that item will appear as selected in the dropdown. This is good.
>
>But, how can I type more that 1 character? For example, below are my dropdown values. If I type 'T', Tow is selected in the drop down. But how can I type 'Tr' and get Tree or 'Tru' and get Trunk? I don't want to type the entire item, just the first 1-3 characters.
>
>Drop down value:
>Box
>Cat
>Dog
>Tow
>Tree
>Trout
>Trunk
>
>Thanks,
>
>Jerry
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform