Print Page | Close Window

ComboBox forces the user to select from the list and does not allow any input in the text area

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=271
Printed Date: 10-Jun-2026 at 8:51am


Topic: ComboBox forces the user to select from the list and does not allow any input in the text area
Posted By: Customer
Subject: ComboBox forces the user to select from the list and does not allow any input in the text area
Date Posted: 16-Jul-2007 at 11:33am

I find that when I include a ListConverter in the binding for a combo box, it forces it to behave as though DropDownStyle=DropDownList and ignores my AutoCompleteMode=Suggest setting. In other words, it forces the user to select from the list and does not allow any input in the text area of the combo.

Is there any way around this behavior?




Replies:
Posted By: IdeaBlade
Date Posted: 16-Jul-2007 at 11:36am

I have attached the code and documentation for a Custom ComboBox which will give you the behaviour you want.

Here is the documentation.
 
http://www.ideablade.com/forum/uploads/20070716_191526_CustomComboBoxD.zip - uploads/20070716_191526_CustomComboBoxD.zip
 
Here is the code.
 
http://www.ideablade.com/forum/uploads/20070716_194153_CustomComboBoxD.zip - uploads/20070716_194153_CustomComboBoxD.zip
 
 


Posted By: orcities
Date Posted: 16-Oct-2007 at 7:45am
David,
 
Both are only documentation. But, when I compiled the projects the ComboBoxDataBinder class fails because I didn't override GetBaseFitness.
 
 
So, is there suppose to be something in that?


Posted By: davidklitzke
Date Posted: 16-Oct-2007 at 9:08am
It has been a while since I built this project.
 
If you correct the build error, does the solution work?
 
 


Posted By: orcities
Date Posted: 16-Oct-2007 at 9:12am
I added the method that need to be used. And left it blank. Works fine.



Print Page | Close Window