protected function btnConfirm_Click() { // Update the Label if ($this->lblMessage->Text == 'Hello, world!') { $this->lblMessage->Text = 'Buh Bye!'; } else { $this->lblMessage->Text = 'Hello, world!'; } }