Пример #1
0
 protected void ResetFields()
 {
     NumberChoice.Text = "";
     ChoiceList.ClearSelection();
     //ChoiceList.SelectedIndex = -1; //index -1 will not be found, optionally way
     CollectionChoiceList.ClearSelection();
     ProgrammingCourseActive.Checked = false;
     AlterLabel.ForeColor            = System.Drawing.Color.Black;
 }
Пример #2
0
 protected void ResetFields()
 {
     DisplayDataRO.Text = "";
     ProgrammingCourseActive.Checked = false;
     ChoiceList.ClearSelection();
     //ChoiceList.SelectedIndex = -1; //This is an optional way of deselecting
     CollectionChoiceList.ClearSelection();
     AlterLabel.ForeColor = System.Drawing.Color.Black;
 }