Here is the ComboBox code:
When I run my app It's not showing the bound Status. Could it have something to do with binding and the declarative items? The Status property is a string property.
Thanks.
<
telerik:RadComboBox
Text
=
"{Binding Status}"
Width
=
"90"
>
<
telerik:RadComboBoxItem
Content
=
"OPEN"
/>
<
telerik:RadComboBoxItem
Content
=
"CLOSED"
/>
</
telerik:RadComboBox
>
When I run my app It's not showing the bound Status. Could it have something to do with binding and the declarative items? The Status property is a string property.
Thanks.
4 Answers, 1 is accepted
0
Hello Rayne,
Could you please also paste the code of the ViewModel that you are using. Initially, there shouldn't be any problems with the declarative items and the binding.
Looking forward to your reply.
Kind regards,
Konstantina
the Telerik team
Could you please also paste the code of the ViewModel that you are using. Initially, there shouldn't be any problems with the declarative items and the binding.
Looking forward to your reply.
Kind regards,
Konstantina
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
Hi Rayne,
This is a follow up of my previous post - could you please also try to set the attached property TextSearch.TextPath="Content". And let us know if that helped.
Greetings,
Konstantina
the Telerik team
This is a follow up of my previous post - could you please also try to set the attached property TextSearch.TextPath="Content". And let us know if that helped.
Greetings,
Konstantina
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

Rayne
Top achievements
Rank 1
answered on 12 Nov 2010, 02:42 PM
I resolved my issue in a strange way.
This comboBox was initially part of a Data Template that made up the Content for a RadPane. When I moved it to another user control (which was necessary for other reasons) and did the databinding on the UserControl to the viewModel (then set the content of the RadPane to the user control), it works as expected.
Thanks.
This comboBox was initially part of a Data Template that made up the Content for a RadPane. When I moved it to another user control (which was necessary for other reasons) and did the databinding on the UserControl to the viewModel (then set the content of the RadPane to the user control), it works as expected.
Thanks.
0
Hello Rayne,
We are glad that you have resolved the issue yourself.
Please let us know if you have any other questions about our controls.
Best wishes,
Konstantina
the Telerik team
We are glad that you have resolved the issue yourself.
Please let us know if you have any other questions about our controls.
Best wishes,
Konstantina
the Telerik team
See What's New in RadControls for WPF in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>