/// <summary> /// Handler for the selectclicked event of the finduser control. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void SelectClickedHandler(object sender, System.EventArgs e) { List <int> selectedUserIDs = userFinder.SelectedUserIDs; if (selectedUserIDs.Count < 0) { // nothing selected, return return; } // just use the first selected user int selectedUserID = selectedUserIDs[0]; UserEntity user = UserGuiHelper.GetUser(selectedUserID); lblUserName.Text = user.NickName; AuditDataCoreCollection audits = SecurityGuiHelper.GetAllAuditsForUser(selectedUserID); phAuditInfo.Visible = true; rptAudits.DataSource = audits; rptAudits.DataBind(); }