/// <summary> /// method /// US:931 /// rebinds the page's gridview and rechecks any checked items /// </summary> private void RebindAndCheck() { gvPatients.DataSource = ucPatientLookup.PatientDataTable; gvPatients.DataBind(); CGridView.SetCheckedRows( gvPatients, PatientIDs, "chkSelect"); }
/// <summary> /// method /// US:931 /// rebinds the page's gridview and rechecks any checked items /// </summary> private void RebindAndCheck() { gvTS.DataSource = TemporalStates; gvTS.DataBind(); CGridView.SetCheckedRows( gvTS, TemporalStateIDs, "chkSelect"); }
/// <summary> /// method /// US:931 /// rebinds the page's gridview and rechecks any checked items /// </summary> private void RebindAndCheck() { gvDS.DataSource = DecisionStates; gvDS.DataBind(); CGridView.SetCheckedRows( gvDS, DecisionStateIDs, "chkSelect"); }
/// <summary> /// method /// US:931 /// rebinds the page's gridview and rechecks any checked items /// </summary> private void RebindAndCheck() { gvOS.DataSource = OutcomeStates; gvOS.DataBind(); CGridView.SetCheckedRows( gvOS, OutcomeStateIDs, "chkSelect"); }
/// <summary> /// method /// US:931 /// rebinds the page's gridview and rechecks any checked items /// </summary> private void RebindAndCheck() { gvExistingCL.DataSource = PatientDataTable; gvExistingCL.DataBind(); CGridView.SetCheckedRows( gvExistingCL, SelectedPatientIDs, "chkSelect"); }
public override CStatus LoadControl(k_EDIT_MODE lEditMode) { EditMode = lEditMode; //get the data DataSet ds = null; CTemporalStateData tsd = new CTemporalStateData(BaseMstr.BaseData); CStatus status = tsd.GetTemporalStateDS((long)k_ACTIVE_ID.Active, out ds); if (!status.Status) { return(status); } TemporalStates = ds.Tables[0]; gvTS.DataSource = TemporalStates; gvTS.DataBind(); //get the cli data and check the checkboxes CChecklistItemData itemData = new CChecklistItemData(BaseMstr.BaseData); DataSet dsTS = null; status = itemData.GetTemporalStateDS(ChecklistID, ChecklistItemID, out dsTS); if (!status.Status) { return(status); } string strTSIDs = ","; foreach (DataRow dr in dsTS.Tables[0].Rows) { strTSIDs += dr["ts_id"].ToString() + ","; } TemporalStateIDs = strTSIDs; CGridView.SetCheckedRows( gvTS, TemporalStateIDs, "chkSelect"); return(new CStatus()); }