This question is locked. New answers and comments are not allowed.
Hi
I've modified the in-line edit template to replace the subject text field with two RadMaskedNumericInput controls. These are implemented with two-way binding to my "Appointment". I've changed the double-click event to kick-off inline edit but am struggling to cancel the inline edit mode. It cancels when the current appointment loses focus (e.g. by moving to the next appointment) but ideally I would like to cancel this by pressing enter in one of the numeric inputs.
I'm thinking that I could subclass the maskededit to trap the enter key but then I'm not sure how I cancel the edit mode. Is this possible or is there another, simpler, way to do this?
In the original template when you pressed enter in the subject edit box, it cancels the edit so how does this work?
Thanks
Keith
I've modified the in-line edit template to replace the subject text field with two RadMaskedNumericInput controls. These are implemented with two-way binding to my "Appointment". I've changed the double-click event to kick-off inline edit but am struggling to cancel the inline edit mode. It cancels when the current appointment loses focus (e.g. by moving to the next appointment) but ideally I would like to cancel this by pressing enter in one of the numeric inputs.
I'm thinking that I could subclass the maskededit to trap the enter key but then I'm not sure how I cancel the edit mode. Is this possible or is there another, simpler, way to do this?
In the original template when you pressed enter in the subject edit box, it cancels the edit so how does this work?
Thanks
Keith