protected void cvValidTimes_ServerValidate(object source, ServerValidateEventArgs args)
        {
            args.IsValid = false;

            int projectId = int.Parse(ddlProject.SelectedValue);
            if (projectId != 35 && projectId != 39 && projectId != 716)
            {
                ProjectTimeGateway projectTimeGatewayForVerify = new ProjectTimeGateway();
                int employeeId = Int32.Parse(ViewState["employee_id"].ToString());
                int companyId = Int32.Parse(hdfCompanyId.Value);
                DateTime date_ = tkrdpDate_.SelectedDate.Value;
                string startTimeFooter = "";
                string startHoursFooter = ""; if (ddlStartTimeHour.SelectedValue != "") startHoursFooter = ddlStartTimeHour.SelectedValue.Trim();
                string startMinutesFooter = ""; if (ddlStartTimeMinute.SelectedValue != "") startMinutesFooter = ddlStartTimeMinute.SelectedValue.Trim();

                string endTimeFooter = "";
                string endHoursFooter = ""; if (ddlEndTimeHour.SelectedValue != "") endHoursFooter = ddlEndTimeHour.SelectedValue.Trim();
                string endMinutesFooter = ""; if (ddlEndTimeMinute.SelectedValue != "") endMinutesFooter = ddlEndTimeMinute.SelectedValue.Trim();

                int projectTimeId = (int)ViewState["projecttime_id"];

                if ((startHoursFooter != "") && (startMinutesFooter != "") && (endHoursFooter != "") && (endMinutesFooter != ""))
                {
                    startTimeFooter = startHoursFooter + ":" + startMinutesFooter;
                    endTimeFooter = endHoursFooter + ":" + endMinutesFooter;

                    // Verify if the time already exists at DB
                    if (projectTimeGatewayForVerify.NotExistsByEmployeIdDate_StartTimeEndTimeEdit(projectTimeId, employeeId, date_, startTimeFooter, endTimeFooter, companyId))
                    {
                        args.IsValid = true;
                    }
                }
                else
                {
                    args.IsValid = true;
                }
            }
            else
            {
                args.IsValid = true;
            }
        }