Silverlight Toolkit TimePicker control don't show error message on validation error RRS feed

  • Question

  • Hi!

    I am working with a Silverlight application with some TimePicker controls and some TextBoxes. The XAML code like

    "{Binding FromDatetime, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}"
    <Button HorizontalAlignment = "Left" Content = "Button" Height = "23" x:Name = "button1" Width = "75" Click = "button1_Click" />


    My problem is, when i enter some invalid value and press the button (these is only a SubmitChanges() to a DataContext in my button1_Click handler), the TimePicker control don't show me any error message.

    1. TimePicker control and Button

    The results are,
    pattern 1: shows no error message and no red thin border around the TimePicker

    So, how I can let the TimePicker show me the error message.



    Ashish Patel, MCTS Software Engineer [Level - 2]
    Wednesday, January 19, 2011 10:41 AM