private void btnRemoveUser_Click(object sender, EventArgs e) { btnRemoveUser.DisableServerSideValidation(); if (Page.IsValid) { // Remove this planner from this traffic area. int identityId = Convert.ToInt32(cboTrafficAreaUsers.SelectedValue); bool success = false; using (Facade.ITrafficArea facTrafficArea = new Facade.Traffic()) success = facTrafficArea.DeleteUser(m_trafficArea.TrafficAreaId, identityId, ((Entities.CustomPrincipal)Page.User).UserName); if (success) { lblConfirmation.Text = "The planner is no longer attached to the traffic area."; ConfigureTrafficAreaManupulation(eTrafficAreaManipulation.ConfigurePlanners); } else { lblConfirmation.Text = "The planner could not be removed from the traffic area."; } lblConfirmation.Visible = true; } }