protected void btnSend_Click(object sender, System.EventArgs e) { ArrayList al = this.getUser(); NoteData data = new NoteData(); data.RegisterAdminNoteInfo(this.progCode, ViewState["subClassCode"].ToString(), comment.Value, this.progImg.ImageUrl, al); JS.AlertCommand("쪽지를 보냈습니다.", "window.close();"); }
protected void btnSave_Click(object sender, System.EventArgs e) { NoteUser user = new NoteUser(); user.uno = uInfo.Uno; user.userID = uInfo.UserID; user.userNm = uInfo.UserName; NoteData data = new NoteData(); data.RegisterUserReplyNoteInfo(this.noteID, note.progCode, user, txtComment.Text); JS.AlertCommand("쪽지주셔서 감사합니다.", "document.location.href='EVENT:CLOSE';"); }
protected void btnSend_Click(object sender, System.EventArgs e) { NoteUser user = new NoteUser(); user.uno = uInfo.Uno; user.userID = uInfo.UserID; user.userNm = uInfo.UserName; NoteData data = new NoteData(); data.RegisterUserReplyNoteInfo(this.noteID, this.progCode, user, comment.Text); JS.AlertCommand("쪽지를 보냈습니다.", "opener.location.reload(); window.close();"); }