Hello there,
We want to be able to show the red border with the error message tab in the corner to appear in Telerik ComboBox control when exception is raised in the SelectedItem bound property (similar to Microsoft Silverlight controls).
I have a screen that has multiple Telerik ComboBox controls which are required fields. The screen is using MVVM model. On the SelectedProduct property which is bound to SelectedItem property of the Product ComboBox the exception throw new ArgumentException("Product field is required"); is raised when the Save button is clicked and SelectedProduct is null. Similar exceptions are raised by other ComboBox control's SelectedItem bound property.
However it appears that since the exception is not handled by the Telerik Control unlike the default Microsoft controls the screen only displays one unhandled exception message and all the violating controls do not show the respective error messages with red border and balooned error message (similar to how Microsoft controls show the error message when eceptions are raised using a bound property).
Thanks,
Manas
We want to be able to show the red border with the error message tab in the corner to appear in Telerik ComboBox control when exception is raised in the SelectedItem bound property (similar to Microsoft Silverlight controls).
<
telerikInput:RadComboBox
x:Name
=
"ccProduct"
ItemsSource
=
"{Binding ProductList}"
SelectedItem
=
"{Binding SelectedProduct, Mode=TwoWay, ValidatesOnExceptions=True,ValidatesOnDataErrors=True, NotifyOnValidationError=True}"
DisplayMemberPath
=
"ProductDesc"
IsEditable
=
"True"
Grid.Row
=
"1"
Grid.Column
=
"1"
/>
I have a screen that has multiple Telerik ComboBox controls which are required fields. The screen is using MVVM model. On the SelectedProduct property which is bound to SelectedItem property of the Product ComboBox the exception throw new ArgumentException("Product field is required"); is raised when the Save button is clicked and SelectedProduct is null. Similar exceptions are raised by other ComboBox control's SelectedItem bound property.
However it appears that since the exception is not handled by the Telerik Control unlike the default Microsoft controls the screen only displays one unhandled exception message and all the violating controls do not show the respective error messages with red border and balooned error message (similar to how Microsoft controls show the error message when eceptions are raised using a bound property).
Thanks,
Manas