This is the goal of WebControl.Enabled = false; so that it does not respond to user input.
edit: now that the question has changed, disabling the control is no longer a solution. However, I think that a control that responds to mouse clicks rather than the keyboard does not work, not everyone prefers to use the mouse.
source share