/// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void storeContractType_OnRefreshData(object sender, StoreRefreshDataEventArgs e)
        {
            try
            {
                if (!string.IsNullOrEmpty(hdfEmployee.Text))
                {
                    var contractModels = ContractController.GetAllByRecordCondition(Convert.ToInt32(hdfEmployee.Text));
                    if (contractModels.Count == 0)
                    {
                        RM.RegisterClientScriptBlock("contract",
                                                     "alert('Không tìm thấy hợp đồng nào còn hiệu lực. Vui lòng tạo hợp đồng mới trước khi tạo quyết định lương!');");
                    }

                    storeContractType.DataSource = contractModels;
                    storeContractType.DataBind();
                }
                else
                {
                    RM.RegisterClientScriptBlock("employee", "alert('Bạn chưa chọn cán bộ'); cboEmployee.focus();");
                }
            }
            catch (Exception exception)
            {
                Dialog.ShowError(exception);
            }
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void storeContractType_OnRefreshData(object sender, StoreRefreshDataEventArgs e)
        {
            try
            {
                if (!string.IsNullOrEmpty(hdfChooseEmployee.Text))
                {
                    var datas = ContractController.GetAllByRecordCondition(Convert.ToInt32(hdfChooseEmployee.Text));
                    if (datas.Count == 0)
                    {
                        RM.RegisterClientScriptBlock("rl1",
                                                     "alert('Không tìm thấy hợp đồng nào còn hiệu lực. Vui lòng tạo hợp đồng mới trước khi tạo quyết định lương!');");
                    }

                    storeContractType.DataSource = datas;
                    storeContractType.DataBind();
                }
                else
                {
                    RM.RegisterClientScriptBlock("rl", "alert('Bạn chưa chọn cán bộ'); cbxChooseEmployee.focus();");
                }
            }
            catch (Exception ex)
            {
                X.Msg.Alert("Thông báo từ hệ thống", "Có lỗi xảy ra: " + ex.Message).Show();
            }
        }