/// <summary> /// Handles the Click event of the btnPlaceElsewhere control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="RowEventArgs" /> instance containing the event data.</param> protected void btnPlaceElsewhere_Click( object sender, RowEventArgs e ) { var rockContext = new RockContext(); var groupMemberPerson = new GroupMemberService( rockContext ).GetPerson( e.RowKeyId ); if ( groupMemberPerson != null ) { hfPlaceElsewhereGroupMemberId.Value = e.RowKeyId.ToString(); lPlaceElsewhereGroupMemberName.Text = groupMemberPerson.ToString(); BindPlaceElsewhereTriggerButtons( true ); mdPlaceElsewhere.Visible = true; mdPlaceElsewhere.Show(); } }