C# Class RockWeb.Blocks.Groups.GroupMemberDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Datei anzeigen Open project: NewSpring/Rock

Public Methods

Method Description
GetBreadCrumbs ( PageReference pageReference ) : List

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs

SetBlockOptions ( ) : void

Sets the block options.

ShowDetail ( int groupMemberId ) : void

Shows the detail.

ShowDetail ( int groupMemberId, int groupId ) : void

Shows the detail.

Protected Methods

Method Description
GroupMemberDetail_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the GroupMemberDetail control.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

RegistrationUrl ( int registrationId ) : string

Registrations the URL.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnMoveGroupMember_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnMoveGroupMember control.

btnReCheckRequirements_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnReCheckRequirements control.

btnSaveThenAdd_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSaveAndAdd control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

btnShowMoveDialog_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnShowMoveDialog control.

ddlGroupRole_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlGroupRole control.

gpMoveGroupMember_SelectItem ( object sender, EventArgs e ) : void

Handles the SelectItem event of the gpMoveGroupMember control.

lbResendDocumentRequest_Click ( object sender, EventArgs e ) : void
ppGroupMemberPerson_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppGroupMemberPerson control.

Private Methods

Method Description
CalculateRequirements ( ) : void

Calculates (or re-calculates) the requirements, then updates the results on the UI

ClearErrorMessage ( ) : void

Clears the error message title and text.

LoadDropDowns ( ) : void

Loads the drop downs.

SaveGroupMember ( ) : void
ShowGroupRequirementsStatuses ( ) : void

Shows the group requirements statuses.

ShowRequiredDocumentStatus ( RockContext rockContext, GroupMember groupMember, Group group ) : void

Method Details

GetBreadCrumbs() public method

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs
public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference The page reference.
return List

GroupMemberDetail_BlockUpdated() protected method

Handles the BlockUpdated event of the GroupMemberDetail control.
protected GroupMemberDetail_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

RegistrationUrl() protected method

Registrations the URL.
protected RegistrationUrl ( int registrationId ) : string
registrationId int The registration identifier.
return string

SetBlockOptions() public method

Sets the block options.
public SetBlockOptions ( ) : void
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int groupMemberId ) : void
groupMemberId int The group member identifier.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int groupMemberId, int groupId ) : void
groupMemberId int The group member identifier.
groupId int The group id.
return void

btnCancel_Click() protected method

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnMoveGroupMember_Click() protected method

Handles the Click event of the btnMoveGroupMember control.
protected btnMoveGroupMember_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnReCheckRequirements_Click() protected method

Handles the Click event of the btnReCheckRequirements control.
protected btnReCheckRequirements_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnSaveThenAdd_Click() protected method

Handles the Click event of the btnSaveAndAdd control.
protected btnSaveThenAdd_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnSave_Click() protected method

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnShowMoveDialog_Click() protected method

Handles the Click event of the btnShowMoveDialog control.
protected btnShowMoveDialog_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

ddlGroupRole_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the ddlGroupRole control.
protected ddlGroupRole_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

gpMoveGroupMember_SelectItem() protected method

Handles the SelectItem event of the gpMoveGroupMember control.
protected gpMoveGroupMember_SelectItem ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

lbResendDocumentRequest_Click() protected method

protected lbResendDocumentRequest_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

ppGroupMemberPerson_SelectPerson() protected method

Handles the SelectPerson event of the ppGroupMemberPerson control.
protected ppGroupMemberPerson_SelectPerson ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void