C# Class RockWeb.Blocks.CheckIn.LocationSelect

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
FormatCount ( int locationId ) : string

Formats the count.

NavigateToNextPage ( bool validateSelectionRequired ) : void

Navigates to next page.

OnLoad ( EventArgs e ) : void

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

ProcessSelection ( CheckInPerson person, CheckInSchedule schedule ) : 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, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Handles the ItemCommand event of the rSelection control.

Private Methods

Method Description
ClearSelection ( ) : void

Clears any previously selected locations.

Method Details

FormatCount() protected method

Formats the count.
protected FormatCount ( int locationId ) : string
locationId int The location id.
return string

NavigateToNextPage() protected method

Navigates to next page.
protected NavigateToNextPage ( bool validateSelectionRequired ) : void
validateSelectionRequired bool if set to true will check that block on next 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

ProcessSelection() protected method

Processes the selection.
protected ProcessSelection ( CheckInPerson person, CheckInSchedule schedule ) : bool
person Rock.CheckIn.CheckInPerson The person.
schedule Rock.CheckIn.CheckInSchedule The schedule.
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 System.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 System.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 System.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, 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