I have a GridControl and I only want to allow numerical data to be entered into each cell. I want to ignore any keypress that doesn't have the value '0' to '9', '.', '-' and Insert and Delete.
I have found hooking onto the event:
Will work in stopping a keypress when first trying to start editing the cell, but if the cell has already begun editing, you can enter any key after that. What event should I be hooking onto for this type of operation?