//OVERRIDDEN FUNCTIONS public override void InputFormFields() { if (Data.RemoveSelected != null) { if (Data.RemoveSelected == "1") { ClickRemoveSelected(); } } if (Data.Region != null) { Region_dropdown.SelectByText(Data.Region); } if (Data.SchoolType != null) { SchoolType_dropdown.SelectByText(Data.SchoolType); } if (Data.AddSelected != null) { if (Data.AddSelected == "1") { ClickAddSelected(); } } if (Data.AssignedSchoolName != null) { if (Data.AssignedSchoolName.Equals("1")) { CheckBoxClick(AssignedSchoolName_chkbox, true); } } if (Data.AvailableSchoolName != null) { if (Data.AvailableSchoolName.Equals("1")) { CheckBoxClick(AvailableSchoolName_chkbox, true); } } }
/// <summary> /// Select Region /// </summary> public void SelectRegion(string Region) { Region_dropdown.SelectByText(Region); }