Page's OnPrender must use at least one validator (such as CustomValidator) before being called, otherwise the generated client script will miss: