I am using DateColumn which has a Binding to my property in VM (which implements IDataErrorInfo). When I change the date, the red border does not show up. It only shows on lost focus of date control. How can change it to validate (display red border) on property change?
This is I am using right now : <ig:DateColumn HeaderText="Created" Key="CreatedDate" EditorDisplayBehavior="EditMode" />
I can use TemplateColumn to make to property binding on property change: {Binding CreatedDate, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged}. But can I do the same thing with DateColumn? Please help.
Actually it's doing the validation after the property is changed. DateTime editor is changing the value of the property when you click enter or go out of focus.
How DatePicker can update the property on date change event?
I'm not sure I understood your question.
Hello,
Please provide us with the information requested so that we may be of further assistance.
Sincerely,
Valerie
Developer Support Engineer
Infragistics
www.infragistics.com/support
To be able to help you I need to clarify your case:
Are you using XamGrid or XamDataGrid?
Could you provide me a sample where I can reporduce the issue?
Thanks,
George
DatePicker (which is default editor for DateColumn) is binding with Key property with UpdateTrigger=LostFocus. This binding is done internally.
How can change it to UpdateTrigger=PropertyChanged ?