protected void clearUserControls() { HIDDEN_LABEL_selectedCustomerID.Text = ""; selectedCustomerRental.Text = ""; PhoneNumberInput.Text = ""; selectedCustomerName.Text = ""; selectedCustomerAddress.Text = ""; selectedCustomerCity.Text = ""; creditcardinput.Text = ""; //no real need //RentalEquipmentListview.DataBind(); CustomerListView.DataBind(); PendingRentalListView.DataBind(); newRental.Visible = false; }
protected void clearUserControls() { HIDDEN_LABEL_selectedCustomerID.Text = ""; selectedCustomerRental.Text = ""; PhoneNumberInput.Text = ""; selectedCustomerName.Text = ""; selectedCustomerAddress.Text = ""; selectedCustomerCity.Text = ""; creditcardinput.Text = ""; PhoneNumberInput.Enabled = true; PhoneNumberInput.ForeColor = System.Drawing.Color.Empty; phoneNumberSubmitBtn.Enabled = true; phoneNumberSubmitBtn.ForeColor = System.Drawing.Color.Empty; //no real need //RentalEquipmentListview.DataBind(); CustomerListView.DataBind(); PendingRentalListView.DataBind(); //newRental.Visible = false; }