I am using implicit styles and want to display a custom error template for RadCombobox. This is my style, It was working fine when i was not using implicit styles, but after that when ever there is an error it display the default telerik error template a red border with tooltip at right top corner.
<telerik:RadComboBox Width="260" ItemsSource="{Binding Policies}" DisplayMemberPath="Name"
SelectedItem="{Binding SelectedPolicy, NotifyOnValidationError=True}"/>
<Style TargetType="{x:Type telerik:RadComboBox}" BasedOn="{StaticResource RadComboBoxStyle}">
<Style.Triggers>
<Trigger Property="Validation.HasError" Value="True">
<Setter Property="ToolTip" Value="{Binding RelativeSource={x:Static RelativeSource.Self}, Path=(Validation.Errors)[0].ErrorContent}"/>
<Setter Property="BorderBrush" Value="Red"/>
<Setter Property="Validation.ErrorTemplate">
<Setter.Value>
<ControlTemplate>
<DockPanel>
<TextBlock Foreground="Red" Text="{Binding [0].ErrorContent}" TextTrimming="WordEllipsis" DockPanel.Dock="Bottom" />
<AdornedElementPlaceholder/>
</DockPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Trigger>
</Style.Triggers>
</Style>