private void CheckChangePassword() { AccountBiz Accbiz = new AccountBiz(); var userProfile = (DTO.UserProfile)Session[PageList.UserProfile]; var res = Accbiz.IsChangePassword(userProfile); if (!res.IsError) { // จะต้องเปลี่ยนรหัสผ่าน if (res.ResultMessage) { ClearControlPwd(); PopUpEditPassword.Show(); } else { Response.Redirect(gotoPage); } } else { AlertMessage.ShowAlertMessage(string.Empty, res.ErrorMsg); } }
protected void btnCloseError_Click(object sender, EventArgs e) { PopUpEditPassword.Show(); }