How to get RadDatePicker to show Error tooltip when exception is thrown in bound property

2 posts, 0 answers
  1. Ollie
    Ollie avatar
    19 posts
    Member since:
    Jun 2012

    Posted 03 Jun 2013 Link to this post

    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?

    <telerik:RadDatePicker DisplayFormat ="Long"
              SelectableDateStart="{Binding MinDate, Mode=OneWay}"
              SelectableDateEnd="{Binding MaxDate, Mode=OneWay}"
              BlackoutDates="{Binding DisabledDates, Mode=OneWay}"
              ErrorTooltipContent="Invalid Date!"
                       <Binding Path="CobDate"
                               <ExceptionValidationRule />
  2. Yana
    Yana avatar
    4604 posts

    Posted 06 Jun 2013 Link to this post

    Hi Ollie,

    I am afraid that we do not have Validation ToolTip for RadDatePicker or any other RadControl for WPF - it is available only for Silverlight.
    We're following the standard WPF controls behavior which do not provide validation tooltip as well.

    We're sorry for any inconvenience caused.


    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top