C# Class RockWeb.Blocks.Cms.PublicProfileEdit

Inheritance: Rock.Web.UI.RockBlock
Show file Open project: NewSpring/Rock

Protected Methods

Method Description
FormatPhoneNumber ( object countryCode, object number ) : string

Formats the phone number.

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.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

ddlGroup_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlGroup control.

lbAddGroupMember_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbAddGroupMember control.

lbEditPerson_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEditPerson control.

lbMoved_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbMoved control.

lbRequestChanges_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbRequestChanges control.

rblRole_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the rblRole control.

rptGroupMembers_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Handles the ItemCommand event of the rptGroupMembers control.

rptGroupMembers_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Handles the ItemDataBound event of the rptGroupMembers control.

Private Methods

Method Description
BindFamilies ( ) : void
DisplayEditAttributes ( IHasAttributes item, List displayedAttributeGuids, System.Web.UI.WebControls.PlaceHolder phAttributes, System.Web.UI.WebControls.Panel pnlAttributes, bool setValue ) : void

Displays the edit attributes.

GetPersonAttributeGuids ( int personId ) : List

Gets the person attribute guids.

ShowDetail ( ) : void

Shows the detail.

ShowEditPersonDetails ( int personId ) : void

Shows the edit person details.

Method Details

FormatPhoneNumber() protected method

Formats the phone number.
protected FormatPhoneNumber ( object countryCode, object number ) : string
countryCode object The country code.
number object The number.
return string

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

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

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

ddlGroup_SelectedIndexChanged() protected method

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

lbAddGroupMember_Click() protected method

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

lbEditPerson_Click() protected method

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

lbMoved_Click() protected method

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

lbRequestChanges_Click() protected method

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

rblRole_SelectedIndexChanged() protected method

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

rptGroupMembers_ItemCommand() protected method

Handles the ItemCommand event of the rptGroupMembers control.
protected rptGroupMembers_ItemCommand ( object source, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
source object The source of the event.
e System.Web.UI.WebControls.RepeaterCommandEventArgs The instance containing the event data.
return void

rptGroupMembers_ItemDataBound() protected method

Handles the ItemDataBound event of the rptGroupMembers control.
protected rptGroupMembers_ItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.RepeaterItemEventArgs The instance containing the event data.
return void