I did something silly without realising it for a while.
If you create a “click” or “command” event on something like a linkbutton and it is not firing, perhaps check that you are not getting any validation errors. A validation error will return to the page before your click or command event is fired.