Hi
I have a date/time picker (XAML below). Problems:
1) When I type in 'hello' a tooltip appears with 'Error'. However I was expecting to see the red outline to the control and red tooltip as per other controls. ScheduleDate is a Nullable<DateTime>. Is this exected, and how can I get the normal error style?
2) I am using MVVM so because the value is invalid as a date/time my ViewModel is not updated and I dont know anything is wrong. I would like to know as they type but ParseDateTimeValue is only raised on lost focus. How can I respond to the the text changing?
Thanks
Russell Mason
I have a date/time picker (XAML below). Problems:
1) When I type in 'hello' a tooltip appears with 'Error'. However I was expecting to see the red outline to the control and red tooltip as per other controls. ScheduleDate is a Nullable<DateTime>. Is this exected, and how can I get the normal error style?
2) I am using MVVM so because the value is invalid as a date/time my ViewModel is not updated and I dont know anything is wrong. I would like to know as they type but ParseDateTimeValue is only raised on lost focus. How can I respond to the the text changing?
<t:RadDateTimePicker Grid.Row="2" DateTimeWatermarkContent=""
SelectedValue="{Binding ScheduleDate, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True}"
Height="22" Margin="0,10,16,2" HorizontalAlignment="Stretch" />
Thanks
Russell Mason