protected void Load_CrewEvaluationFeedbackRequest() { try { string btnColor = ""; int ID = UDFLib.ConvertToInteger(Request.QueryString["ID"].ToString()); int Vessel_ID = UDFLib.ConvertToInteger(Request.QueryString["Vessel_ID"].ToString()); int Office_ID = UDFLib.ConvertToInteger(Request.QueryString["Office_ID"].ToString()); DataTable dt = BLL_Crew_Evaluation.Get_CrewEvaluationFeedbackRequest_Details(ID, Vessel_ID, Office_ID); GridView_CrewEvaluationFeedbackRequest.DataSource = dt; GridView_CrewEvaluationFeedbackRequest.DataBind(); if (BLL_Crew_Evaluation.Get_CrewEvaluation_FeedbackCount(GetSessionUserID(), Convert.ToInt32(ID), Convert.ToInt32(Office_ID), Convert.ToInt32(Vessel_ID)) > 0) { btnColor = "yellow"; } string Show_Dashboard1 = String.Format("try{{OpenFeedback();parent.AsyncFeedbackHistory();parent.ChangeBtnColor('" + btnColor + "');}}catch(exp){{}}"); ScriptManager.RegisterStartupScript(Page, Page.GetType(), "", Show_Dashboard1, true); } catch (Exception ex) { } }