private void clearInputs()
 {
     Label_SubmitSuccessMessage.Text = "";
     TextBox_Name.Text = "";
     RadioButtonList_Gender.ClearSelection();
     TextBox_DOB.Text             = "";
     TextBox_Email.Text           = "";
     TextBox_Password.Text        = "";
     TextBox_ConfirmPassword.Text = "";
     TextBox_Phone.Text           = "";
     TextBox_Address.Text         = "";
     DropDownList_Nationality.ClearSelection();
 }
Esempio n. 2
0
 private void clearInputs()
 {
     Calendar_DOB.VisibleDate = DateTime.Today;
     Calendar_DOB.SelectedDates.Clear();
     Calendar_DOB.Visible = false;
     TextBox_DOB.Text     = "";
     Label_PasswordPolicyError.Visible = false;
     Label_SubmitSuccessMessage.Text   = "";
     TextBox_Name.Text = "";
     RadioButtonList_Gender.ClearSelection();
     TextBox_Email.Text           = "";
     TextBox_Password.Text        = "";
     TextBox_ConfirmPassword.Text = "";
     TextBox_Phone.Text           = "";
     TextBox_Address.Text         = "";
     DropDownList_Nationality.ClearSelection();
 }