protected void brnVerifySave(object sender, EventArgs e) { string js; try { int Office_ID = UDFLib.ConvertToInteger(hdnOffice_ID.Value.ToString()); int Vessel_ID = UDFLib.ConvertToInteger(Convert.ToInt32(hdnVessel_ID.Value.ToString())); if (txtMessage.Text.Trim().Length == 0) { js = "alert('Verification comment is mandatory!');"; ScriptManager.RegisterStartupScript(this, this.GetType(), "js", js, true); return; } txtMessage.ReadOnly = true; int CrewID = UDFLib.ConvertToInteger(Request.QueryString["CrewID"].ToString()); int Dtl_Evaluation_ID = UDFLib.ConvertToInteger(Request.QueryString["DtlID"].ToString()); int VerifiedBy = int.Parse(Session["USERID"].ToString()); BLL_Crew_Evaluation.Update_CrewEvaluation_Verification(CrewID, Dtl_Evaluation_ID, Office_ID, Vessel_ID, VerifiedBy, txtMessage.Text); //btnVerify.Enabled = false; txtMessage.Enabled = false; btnSaveFollowUpAndClose.Enabled = false; //LoadFollowUps(iJob_OfficeID, VESSEL_ID, Worklist_ID); } catch (Exception ex) { UDFLib.WriteExceptionLog(ex); } }