This question is locked. New answers and comments are not allowed.
Hi,
I am developing an application using Caliburn Micro as an MVVM framework and WCF RIA Services with Entities for the Models.
I have a scenario where I have a report with input criteria, one of the criteria input controls is a RadComboBox. It is bound to a collection of GroupEntity with two fields, GroupId and Description - both of which is marked as [Required] and contains a meta description. In the RadComboBox I set the SelectedValuePath to GroupEntity.GroupId and then bind SelectedValue to another GroupId containing the rest of the criteria. Lastly, I bind the text property to the GroupEntity.Description.
Here's a short extract of my RadComboBox in XAML:
The ComboBox is bound via the Caliburn Micro convention manager that binds a EntitySet<T> to RadComboBox's ItemsSource property.
All of the desired functionality works fine, except for the the fact that I have a Label and DescriptionViewer control with a Target bound to the RadComboBox and neither of them seem to "bind" properly. The Label doesn't turn bold and the DescriptionViewer is not visible. For all other RadControls bound in a similar way to RIA Entities, the meta information is pulled through correctly.
Any ideas?
Stefan
I am developing an application using Caliburn Micro as an MVVM framework and WCF RIA Services with Entities for the Models.
I have a scenario where I have a report with input criteria, one of the criteria input controls is a RadComboBox. It is bound to a collection of GroupEntity with two fields, GroupId and Description - both of which is marked as [Required] and contains a meta description. In the RadComboBox I set the SelectedValuePath to GroupEntity.GroupId and then bind SelectedValue to another GroupId containing the rest of the criteria. Lastly, I bind the text property to the GroupEntity.Description.
Here's a short extract of my RadComboBox in XAML:
<telerik:RadComboBox IsEditable="True" IsFilteringEnabled="True" TextSearchMode="Contains"DisplayMemberPath="Description"SelectedValuePath="GroupId"SelectedValue="{Binding Path=CriteriaEntity.GroupId, Mode=TwoWay}" Text="{Binding Path=Description, NotifyOnValidationError=True, Mode=TwoWay}" EmptyText="Please Select">The ComboBox is bound via the Caliburn Micro convention manager that binds a EntitySet<T> to RadComboBox's ItemsSource property.
All of the desired functionality works fine, except for the the fact that I have a Label and DescriptionViewer control with a Target bound to the RadComboBox and neither of them seem to "bind" properly. The Label doesn't turn bold and the DescriptionViewer is not visible. For all other RadControls bound in a similar way to RIA Entities, the meta information is pulled through correctly.
Any ideas?
Stefan