WPF RadComboBox has an empty error tooltip when I use Validation.ValidationAdornerSiteFor

0 Answers 145 Views
ComboBox
Alex
Top achievements
Rank 1
Alex asked on 19 May 2021, 08:57 AM

Hi,

My ViewModel implements INotifyDataErrorInfo

I want to use an attached property Validation.ValidationAdornerSiteFor

RadComboBox highlights an error but tooltip is empty

Is there something I need to enable?

                            <telerik:RadComboBox
                                ItemsSource="{Binding Path=ItemsSource}" Validation.ValidationAdornerSiteFor="{Binding ElementName=selectorBehavior}"
                                AllowMultipleSelection="True"
                                MultipleSelectionSeparator=";">
                                <b:Interaction.Behaviors>
                                    <behaviors:SelectedItemsMultiSelectorBehavior x:Name="selectorBehavior" SelectedItems="{Binding Path=SelectedItems, Mode=TwoWay}" />
                                </b:Interaction.Behaviors>
                            </telerik:RadComboBox>


Alex
Top achievements
Rank 1
commented on 21 May 2021, 09:08 AM

I figured out what I need to do
https://stackoverflow.com/questions/26981652/show-wpf-validation-error-message-in-a-fixed-place
Martin Ivanov
Telerik team
commented on 21 May 2021, 09:32 AM

Great. Thanks for sharing this.

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Alex
Top achievements
Rank 1
Share this question
or