Esempio n. 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 = "";
        }
Esempio n. 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 = "";
        }