C# Class RockWeb.Blocks.CheckIn.AbilityLevelSelect

Inheritance: Rock.CheckIn.CheckInBlock
Datei anzeigen Open project: NewSpring/Rock

Public Methods

Method Description
RequiresSelection ( bool backingUp ) : bool

Determines if the block requires that a selection be made. This is used to determine if user should be redirected to this block or not.

Protected Methods

Method Description
NavigateToPreviousPage ( string>.Dictionary queryParams, bool validateSelectionRequired ) : void

Navigates to previous page.

OnLoad ( EventArgs e ) : void

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

ProcessPerson ( ) : void

Processes the person.

ProcessSelection ( ) : bool

Processes the selection.

btnNoOptionOk_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnNoOptionOk control.

lbBack_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbBack control.

lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancel control.

rSelection_ItemCommand ( object source, RepeaterCommandEventArgs e ) : void

Handles the ItemCommand event of the rSelection control.

rSelection_ItemDataBound ( object sender, RepeaterItemEventArgs e ) : void

Handles the ItemDataBound event of the rSelection control.

Private Methods

Method Description
NoConfiguredAbilityLevels ( List groupTypes ) : bool

Determines whether any of the selected person's GroupTypes or Groups have any AbilityLevel attributes defined.

Method Details

NavigateToPreviousPage() protected method

Navigates to previous page.
protected NavigateToPreviousPage ( string>.Dictionary queryParams, bool validateSelectionRequired ) : void
queryParams string>.Dictionary The query parameters.
validateSelectionRequired bool if set to true will check that block on previous page has a selection required before redirecting.
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

ProcessPerson() protected method

Processes the person.
protected ProcessPerson ( ) : void
return void

ProcessSelection() protected method

Processes the selection.
protected ProcessSelection ( ) : bool
return bool

RequiresSelection() public method

Determines if the block requires that a selection be made. This is used to determine if user should be redirected to this block or not.
public RequiresSelection ( bool backingUp ) : bool
backingUp bool if set to true [backing up].
return bool

btnNoOptionOk_Click() protected method

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

lbBack_Click() protected method

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

lbCancel_Click() protected method

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

rSelection_ItemCommand() protected method

Handles the ItemCommand event of the rSelection control.
protected rSelection_ItemCommand ( object source, RepeaterCommandEventArgs e ) : void
source object The source of the event.
e RepeaterCommandEventArgs The instance containing the event data.
return void

rSelection_ItemDataBound() protected method

Handles the ItemDataBound event of the rSelection control.
protected rSelection_ItemDataBound ( object sender, RepeaterItemEventArgs e ) : void
sender object The source of the event.
e RepeaterItemEventArgs The instance containing the event data.
return void