I have the following XAML and I want the error tooltip to show when I throw and exception from the ViewModel property CobDate.
It will show the error tool tip when the CobDate is invalid text, e.g. 'aaaasss' but when it is a valid date but greater then the SelectableDateEnd it will not show the error tool tip when I throw an exception from the ViewModel, it does highlight the textbox of the control with a red border but I want the error tooltip to show as well.
How can I get the error tooltip to show?
It will show the error tool tip when the CobDate is invalid text, e.g. 'aaaasss' but when it is a valid date but greater then the SelectableDateEnd it will not show the error tool tip when I throw an exception from the ViewModel, it does highlight the textbox of the control with a red border but I want the error tooltip to show as well.
How can I get the error tooltip to show?
<telerik:RadDatePicker DisplayFormat ="Long" x:Name="cobDatePicker" Width="150" SelectableDateStart="{Binding MinDate, Mode=OneWay}" SelectableDateEnd="{Binding MaxDate, Mode=OneWay}" BlackoutDates="{Binding DisabledDates, Mode=OneWay}" ErrorTooltipContent="Invalid Date!" AutomationProperties.AutomationId="CobDatePicker"> <telerik:RadDatePicker.SelectedDate> <Binding Path="CobDate" Mode="TwoWay" ValidatesOnExceptions="False" UpdateSourceTrigger="PropertyChanged"> <Binding.ValidationRules> <ExceptionValidationRule /> </Binding.ValidationRules> </Binding> </telerik:RadDatePicker.SelectedDate> </telerik:RadDatePicker>