/** * @return bool * @desc Test whether all registered DataValidators are valid and postback is a submit of the full control */ public function IsValidSubmit() { // Use when the desired behaviour is to assume a GET request is automatically valid, and on postback // an invalid or internal request shouldn't save, but keep typed values in controls rather than // repopulating with saved data. return parent::IsValid() and !$this->IsInternalPostback(); }