I am using a few combo boxes in my form and have set the DropDownStyle property set to DropDownList. I want to expand i.e. show ALL options when the control gets focus (similar to presing the F4). Also some entries of my list have a greater width then the width at design time. I want to display the entire entries based on the width when the control gets focus. I also want to implement autocomplete feature in my combo boxes so that the user can continue typing and only matching entries gets displayed. But when I type the second alphabet the entry which begins with that alphabet is getting selected. I have done all this and more in VisualBasic 6 using API calls, but when it comes to C# 2005, I am clueless. I request members in helping me with this.
Most of the Comboboxes of my form have fixed entries, but in some others I want to display unique values from a table. How do I go about this?
Thank you.
Lalit Kumar Barik
India
Most of the Comboboxes of my form have fixed entries, but in some others I want to display unique values from a table. How do I go about this?
Thank you.
Lalit Kumar Barik
India
Vimal KandasamyPosted Feb 13, 2009, 12:58 AM
I m also need the same features for my application.but as you said we can press F4 to display all options in ASP.Net(C#) too.Up to my knowledge there is no auto complete type for drop down list.
we have to press 2nd alphabet immediately after 1st to select a value.. we have to type all chars of a value fastly to select it..if we delay a single second then control goes to another value which is start with second alphabet. i m eagerly waiting for a good answer from our members.