C# Class RockWeb.Blocks.Core.ScheduleContextSetter

Inheritance: Rock.Web.UI.RockBlock
Mostra file Open project: NewPointe/Rockit

Protected Methods

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

Handles the BlockUpdated event of the 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.

SetScheduleContext ( int scheduleId, bool refreshPage = false ) : Schedule

Sets the schedule context.

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

Handles the ItemCommand event of the rptCampuses control.

Private Methods

Method Description
LoadDropdowns ( ) : void

Loads the schedules

Method Details

Block_BlockUpdated() protected method

Handles the BlockUpdated event of the 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

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

SetScheduleContext() protected method

Sets the schedule context.
protected SetScheduleContext ( int scheduleId, bool refreshPage = false ) : Schedule
scheduleId int The schedule identifier.
refreshPage bool if set to true [refresh page].
return Schedule

rptSchedules_ItemCommand() protected method

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