Exemple #1
0
        public void BindComplainValues()
        {
            ComplainManagement objComplain = ComplainController.GetComplainById(Id);

            txtComplainCode.Text = objComplain.ComplainCode;
            txtComplainMsg.Text  = objComplain.ComplainMessage;
            objComplain          = new ComplainController().UpdateComplain(objComplain);
        }
Exemple #2
0
        protected void btnFeedback_Click(object sender, EventArgs e)
        {
            try
            {
                ComplainManagement objComplain = ComplainController.GetComplainById(Id);

                objComplain.Feedback = txtFeedback.Text;
                objComplain.Status   = ddlStatus.SelectedItem.Text;
                objComplain          = new ComplainController().UpdateComplain(objComplain);
                ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "succ_msg", "MessageBox('Success','Your Feedback Saved Successfully');", true);
                BindGrid();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }