コード例 #1
0
        protected void handleRemindTask(object sender, EventArgs e)
        {
            string content = chatBox.Text;

            TasksBLL.createComment(Convert.ToInt32(Session["id"].ToString()), task.ID, content, true);
            bindComment();

            // reset
            chatBox.Text = "";
        }
コード例 #2
0
        protected void handleSubmitComment(object sender, EventArgs e)
        {
            string content = chatBox.Text;

            if (string.IsNullOrEmpty(content))
            {
                Helper.Toast(this, Page.ClientScript, "info", "Please input comment");
                return;
            }
            TasksBLL.createComment(Convert.ToInt32(Session["id"].ToString()), task.ID, content, false);
            bindComment();

            // reset
            chatBox.Text = "";
        }