protected void Page_Load(object sender, EventArgs e) { TechnicalBAL objtechBAL = new TechnicalBAL(); dtQTNReceived = objtechBAL.GetToopTipsForQtnRecve(); dtQTNSent = objtechBAL.GetToopTipsForQtnSent(); if (!IsPostBack) { BindFleetDLL(); DDLFleet.SelectedValue = Session["USERFLEETID"].ToString(); BindVesselDDL(); BindDeptTypeOpt(); BindDepartmentByST_SP(); //BindPendingStatas(); rgdReqAllStage.Attributes.Add("bordercolor", "#D8D8D8"); txtSearchJoinFromDate.Text = (DateTime.Now.AddDays(-(DateTime.Now.DayOfYear) + 1)).ToString("dd-MM-yyyy"); txtSearchJoinToDate.Text = (DateTime.Now.AddMonths(1).AddDays(-(DateTime.Now.Day))).ToString("dd-MM-yyyy"); BindSearchRequistionstages(); //txtSearchJoinFromDate.Text.Trim() == "" ? "1900/01/01" : txtSearchJoinFromDate.Text.Trim(), //txtSearchJoinToDate.Text.Trim() == "" ? "2099/01/01" : txtSearchJoinToDate.Text.Trim(), } objChangeReqstMerge.AddMergedColumns(new int[] { 2, 3, 4 }, "Requisition", "HeaderStyle-css"); objChangeReqstMerge.AddMergedColumns(new int[] { 5, 6, 7, 8 }, "Quotation", "HeaderStyle-css"); objChangeReqstMerge.AddMergedColumns(new int[] { 9, 10, 11, 12 }, "Purchase Order", "HeaderStyle-css"); objChangeReqstMerge.AddMergedColumns(new int[] { 13, 14, 15 }, "Delivery", "HeaderStyle-css"); }