protected void loadAppCycleGoal()
    {
        try
        {
            _obj_Pms_Appraisalcycle                  = new PMS_Appraisalcycle();
            _obj_Pms_Appraisalcycle.OPERATION        = operation.Empty;
            _obj_Pms_Appraisalcycle.MODE             = 8;
            _obj_Pms_Appraisalcycle.APPRCYCLE_BU_ID  = Convert.ToInt32(rcmb_BusinessUnitGoal.SelectedItem.Value);
            _obj_Pms_Appraisalcycle.APPRCYCLE_ORG_ID = Convert.ToInt32(Session["org_id"]);
            DataTable DT_AppraisalCycle = new DataTable();
            DT_AppraisalCycle = Pms_Bll.get_Appraisalcycle(_obj_Pms_Appraisalcycle);
            if (DT_AppraisalCycle.Rows.Count != 0)
            {
                RCB_AppraisalCycleGoal.DataSource     = DT_AppraisalCycle;
                RCB_AppraisalCycleGoal.DataTextField  = "APPRCYCLE_NAME";
                RCB_AppraisalCycleGoal.DataValueField = "APPRCYCLE_ID";
                RCB_AppraisalCycleGoal.DataBind();
                RCB_AppraisalCycleGoal.Items.Insert(0, new Telerik.Web.UI.RadComboBoxItem("Select", "0"));
            }
            else
            {
                DataTable dt1 = new DataTable();
                RCB_AppraisalCycleGoal.DataSource = dt1;

                RCB_AppraisalCycleGoal.DataBind();
                RCB_AppraisalCycleGoal.Items.Insert(0, new Telerik.Web.UI.RadComboBoxItem("Select", "0"));
            }
        }

        catch (Exception ex)
        {
            SMHR.BLL.Error_Log(Session["USER_ID"].ToString(), ex.TargetSite.ToString(), ex.Message.Replace("'", "''"), "frm_Pms_Reports", ex.StackTrace, DateTime.Now);
            Response.Redirect("~/Frm_ErrorPage.aspx");
        }
    }
    protected void rcmb_BusinessUnitGoal_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
    {
        try
        {
            if (rcmb_BusinessUnitGoal.SelectedItem.Text != "Select")
            {
                loadAppCycleGoal();
            }
            else
            {
                Pms_Bll.ShowMessage(this, "Please Select Business Unit");
                DataTable dt = new DataTable();
                RCB_AppraisalCycleGoal.DataSource = dt;
                RCB_AppraisalCycleGoal.DataBind();
                rcmb_RptEmp_Goal.DataSource = dt;
                rcmb_RptEmp_Goal.DataBind();
                return;
            }
        }

        catch (Exception ex)
        {
            SMHR.BLL.Error_Log(Session["USER_ID"].ToString(), ex.TargetSite.ToString(), ex.Message.Replace("'", "''"), "frm_Pms_Reports", ex.StackTrace, DateTime.Now);
            Response.Redirect("~/Frm_ErrorPage.aspx");
        }
    }