I have a scenario where I need to simulate the escape key press event (reverts data back to original state if entered data is invalid. what is being called from the escape key press?
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
I'm catcing the eror in the grid BindingValidationError event and the ExitEditMode call is not doing anything, so no this is not working for me (yet)
I've tried several place to fire this from and none seem to work. I've also noticed tht my property changed event handlers do not fire until I tab off of the cell. thatt is not good. Is there a way to force the changed handlers by key stroke instead of by tabbing off of the cell? should I think about using a template column here instead with a text box in it"
I have been looking into your requirement and I had tried the solution, Nikolay had provided, on a button click and it works as you seem to require. I suppose there is something else in your code that might be preventing you from using it. If you could please provide us with a sample project that we can look into, we might be able to sort this out for you.
Looking forward to hearing from you.
Hi,
I am really glad to see you have made this work as you wanted.
Please let me know if you still want to get the initial suggestion running.
I could not get this to fire from a button click event either. so I abandoned this approach and went with a template column with a textbox in it and I just validate on the key up and text changed events