This question is locked. New answers and comments are not allowed.
How do I display an inline validation message on a RadAutoCompleteBox in Silverlight e.g. "Required Field"?
I have the following XAML code bound to an entity with a "Required" attribute on it:
If I bind the "SearchText" binding to the Text property of a TextBox the validation message displays as expected and I have plenty of other input controls on the form that are bound in the same way including to a RadComboBox and they are also working as expected.
Edit: I've justed added a BindingValidationEvent to the code-behind and the Validation Exception is definitely being caught, it's just not being displayed - I just want the typical red highlighting with the red popup-box...
I have the following XAML code bound to an entity with a "Required" attribute on it:
<telerik:RadAutoCompleteBox Grid.Column="0" Grid.Row="2" Margin="0,0,2,0" ItemsSource="{Binding LiquidOutputUnits}" DisplayMemberPath="OutputUnit" SelectionMode="Single" TextSearchMode="Contains" FilteringBehavior="{StaticResource RadAutoCompleteBoxEmptySearchShowAllFilter}" SearchText="{Binding ChemCodeFormModel.LiquidSearchText, FallbackValue='', TargetNullValue='', Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True, ValidatesOnNotifyDataErrors=True}" SelectedItem="{Binding ChemCodeFormModel.LiquidSelectedItem, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True, ValidatesOnNotifyDataErrors=True}" />If I bind the "SearchText" binding to the Text property of a TextBox the validation message displays as expected and I have plenty of other input controls on the form that are bound in the same way including to a RadComboBox and they are also working as expected.
Edit: I've justed added a BindingValidationEvent to the code-behind and the Validation Exception is definitely being caught, it's just not being displayed - I just want the typical red highlighting with the red popup-box...