Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1540
Sense when a Date Cell changes from a date to null
posted

I have a need to sense (event?) when a date cell is changed from a date to null.  The way I'm changing from a date to null is: 1) Select the cell (the column is always in edit mode).  2) Press the Delete key.

I would also like to sense any time a Date changes.

 

  • 35319
    posted

    Hello,

     

    I have been looking into your question and I can suggest handling the ‘KeyUp’ event of the ‘DatePickerTextBox’ of the DatePicker control and check whether the "Delete" button has been pressed. I am sending you a sample application(XamGridS5DateColumn.zip) that shows that functionality. In order to get notified any time when the date changes, you can handle the appropriate events of the DatePicker or the events of its children.

     

    If you need any further assistance, feel free to ask.

    XamGridS5DateColumn.zip