Example #1
0
        protected void lbNoticeTitle_Click(object sender, EventArgs e)
        {
            try
            {
                int   index             = int.Parse(((LinkButton)sender).CommandArgument);
                Label lblTicketId       = (Label)rptNotification.Items[index].FindControl("lblTicketId");
                Label lblNotificationId = (Label)rptNotification.Items[index].FindControl("lblNotificationId");

                NotificationBiz biz = new NotificationBiz();
                biz.UpdateStatus(decimal.Parse(lblNotificationId.Text.Trim()), "R");
                Response.Redirect("~/SLM_SCR_004.aspx?ticketid=" + lblTicketId.Text.Trim(), false);
            }
            catch (Exception ex)
            {
                string message = ex.InnerException != null ? ex.InnerException.Message : ex.Message;
                AppUtil.ClientAlert(Page, message);
            }
        }