C# Класс RockWeb.Blocks.Core.ScheduleContextSetter

Наследование: Rock.Web.UI.RockBlock
Показать файл Открыть проект

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
LoadDropdowns ( ) : void

Loads the schedules

Описание методов

Block_BlockUpdated() защищенный Метод

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.
Результат void

OnInit() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

SetScheduleContext() защищенный Метод

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].
Результат Schedule

rptSchedules_ItemCommand() защищенный Метод

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.
Результат void