C# Class RockWeb.Blocks.Core.GroupContextSetter

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

Protected Methods

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

Handles the BlockUpdated event of the Block control.

OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void

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

SetGroupContext ( int groupId, bool refreshPage = false ) : Group

Sets the group context.

SetGroupTypeContext ( System.Guid groupTypeGuid ) : GroupType

Sets the group type context.

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

Handles the ItemCommand event of the rptGroups control.

Private Methods

Method Description
LoadDropDowns ( ) : void

Loads the groups.

Method Details

Block_BlockUpdated() protected method

Handles the BlockUpdated event of the Block control.
protected Block_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

protected OnInit ( EventArgs e ) : void
e System.EventArgs
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

SetGroupContext() protected method

Sets the group context.
protected SetGroupContext ( int groupId, bool refreshPage = false ) : Group
groupId int The group identifier.
refreshPage bool if set to true [refresh page].
return Group

SetGroupTypeContext() protected method

Sets the group type context.
protected SetGroupTypeContext ( System.Guid groupTypeGuid ) : GroupType
groupTypeGuid System.Guid The group type unique identifier.
return GroupType

rptGroups_ItemCommand() protected method

Handles the ItemCommand event of the rptGroups control.
protected rptGroups_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