This is a migrated thread and some comments may be shown as answers.

Text Binding

3 Answers 61 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
MiddleTommy
Top achievements
Rank 1
MiddleTommy asked on 20 May 2010, 10:48 PM
I am trying to bind to the Text of a RadCombobox. It works ok but when I change the binding source the combobox says that the value of Text can not be null.
I wish to use the RadComboBox to be a TextBox where the user can type any value and it will be saved into a list of items that is the items source of the RadComboBox for autocompletion of previously entered items. So the Text is separate from the Current SelectedItem.
Any thoughts on how to do this or should I use a different control?

3 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 21 May 2010, 11:23 AM
Hi TWT,

We have received similar bug reports from other clients, but we weren't able to reproduce the problem with a simple application. Could you please, open a new support ticket and send us a simple application, that could be used to observe the exception?

Greetings,
Valeri Hristov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
pompomJuice
Top achievements
Rank 1
answered on 19 Oct 2010, 11:43 AM
Any solutions yet?

I am  trying to do what MiddleTommy is doing too. Say you have a entity and you display it's properties as a list of controls in a dataform. Some of these properties might be of a Type kind. Product.Category for example. When when you add a new product, the product's category has not been set yet which causes the Radcombobox to fail.

Therefore, binding the RadCombobox.TextProperty to a property on the VM that can sometimes return "" or null, causes Radcombobox to fail.

Should it not return to a state where it displays EmptyText?
0
George
Telerik team
answered on 22 Oct 2010, 11:30 AM
Hi Werner,

I answered you in the other thread as well. Anyway, we will greatly appreciate a sample project of yours. It will definitely help us in further resolving the problem. 


Greetings,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
MiddleTommy
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
pompomJuice
Top achievements
Rank 1
George
Telerik team
Share this question
or