C# Class RockWeb.Blocks.Core.CampusScheduleContextSetter

Inheritance: Rock.Web.UI.RockBlock
Afficher le fichier Open project: NewPointe/Rockit

Méthodes protégées

Méthode Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

LoadCampusDropdowns ( ) : void

Loads the campuses

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.

SetCampusContext ( int campusId, bool refreshPage = false ) : Campus

Sets the campus context.

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

Sets the schedule context.

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

Handles the ItemCommand event of the rptCampuses control.

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

Handles the ItemCommand event of the rptCampuses control.

Private Methods

Méthode Description
LoadScheduleDropdowns ( ) : void

Loads the schedules

Method Details

Block_BlockUpdated() protected méthode

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.
Résultat void

LoadCampusDropdowns() protected méthode

Loads the campuses
protected LoadCampusDropdowns ( ) : void
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

SetCampusContext() protected méthode

Sets the campus context.
protected SetCampusContext ( int campusId, bool refreshPage = false ) : Campus
campusId int The campus identifier.
refreshPage bool if set to true [refresh page].
Résultat Campus

SetScheduleContext() protected méthode

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].
Résultat Schedule

rptCampuses_ItemCommand() protected méthode

Handles the ItemCommand event of the rptCampuses control.
protected rptCampuses_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.
Résultat void

rptSchedules_ItemCommand() protected méthode

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.
Résultat void