protected override void ShowObjectInformation() { item = DepartmentServices.GetById(IntId); ViewState["CurrentObject"] = item; TenDonVi.Text = item.DepartmentName; TenDangNhap.Text = item.UserName; ThuTuHienThi.Text = item.DisplayOrder.ToString(); HienThiThongKe.Checked = item.IsShowStatistic; NhomDonVi.SelectByValue(item.DepartmentGroupID); SoDienThoai.Text = item.PhoneNumber; }
protected override void ShowObjectInformation() { item = AgencyServices.GetById(IntId); ViewState["CurrentObject"] = item; TenDonVi.Text = item.AgencyName; TenDangNhap.Text = item.UserName; ThuTuHienThi.Text = item.DisplayOrder.ToString(); HienThiThongKe.Checked = item.IsShowStatistic ?? false; NhomDonVi.SelectByValue(item.AgencyGroupID); ServiceUrl.Text = item.ServiceUrl; }
protected override void SetDefaultValueOnCreate() { NhomDonVi.SelectByValue(Parameters.Pid); HienThiThongKe.Checked = true; }
protected override void BindValueToPageControls() { NhomDonVi.BindData(DepartmentGroupServices.GetList(), "DepartmentGroupID", "DepartmentGroupName"); }
protected override void BindOtherValue() { TuNgay.Text = new DateTime(DateTime.Now.Year, 1, 1).ToDateString(); DenNgay.Text = DateTime.Now.ToDateString(); NhomDonVi.BindData(DepartmentGroupServices.GetList(), "DepartmentGroupID", "DepartmentGroupName"); }
protected override void SetDefaultValueOnCreate() { NhomDonVi.SelectByValue(Parameters.Pid); }