When the Form contains custom controls or UserControls are nested, the outer objects will not receive KeyDown and other events. However, we can achieve the same effect by overriding the ProcessDialogKey method of the base class, for example:
protected
override bool ProcessDialogKey( Keys keyData) { #region PageDown if (keyData == Keys.PageDown) { } #endregion return true ; }
<script type="text/javascript"> if ($ != jQuery) { $ = jQuery.noConflict(); } </script>