Control keys shouldn't trigger validation


Control keys (arrows, tab, enter, ctrl, shift, home, end, etc) should not trigger validation. Currently, when ValidateOnKeyPress is true, they do.
Closed Sep 28, 2008 at 7:52 PM by Encosia


Encosia wrote Sep 23, 2008 at 12:08 AM

Checkin #40438 includes caching code to avoid duplicate lookups caused by these control keys. However, it might be preferable to check for the actual key being pressed and NOOP the validation completely if it's something like an arrow key. The Sys.UI.Key enum makes doing this relatively painless and clean.

wrote Sep 28, 2008 at 7:52 PM

wrote Feb 13, 2013 at 11:13 PM

wrote May 16, 2013 at 4:31 AM