C# Класс RockWeb.Blocks.Event.CalendarLava

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

Private Properties

Свойство Тип Описание
BindData void
ResetCalendarSelection void
SetCalendarFilterDates void
SetFilterControls bool
ShowError void
ShowWarning void

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

Метод Описание
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

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.

OnPreRender ( EventArgs e ) : void
SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

btnViewMode_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnWeek control.

calEventCalendar_DayRender ( object sender, System.Web.UI.WebControls.DayRenderEventArgs e ) : void

Handles the DayRender event of the calEventCalendar control.

calEventCalendar_SelectionChanged ( object sender, EventArgs e ) : void

Handles the SelectionChanged event of the calEventCalendar control.

calEventCalendar_VisibleMonthChanged ( object sender, System.Web.UI.WebControls.MonthChangedEventArgs e ) : void

Handles the VisibleMonthChanged event of the calEventCalendar control.

cblCampus_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the cblCampus control.

cblCategory_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the cblCategory control.

lbDateRangeRefresh_Click ( object sender, EventArgs e ) : void

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

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

Loads and displays the event item occurrences

ResetCalendarSelection ( ) : void

Resets the calendar selection. The control is configured for day selection, but selection will be changed to the week or month if that is the viewmode being used

SetCalendarFilterDates ( ) : void
SetFilterControls ( ) : bool

Loads the drop downs.

ShowError ( string heading, string message ) : void

Shows the error.

ShowWarning ( string heading, string message ) : void

Shows the warning.

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

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

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

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
Результат 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

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

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
Результат void

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

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Результат object

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

Handles the Click event of the btnWeek control.
protected btnViewMode_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the DayRender event of the calEventCalendar control.
protected calEventCalendar_DayRender ( object sender, System.Web.UI.WebControls.DayRenderEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.DayRenderEventArgs The instance containing the event data.
Результат void

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

Handles the SelectionChanged event of the calEventCalendar control.
protected calEventCalendar_SelectionChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the VisibleMonthChanged event of the calEventCalendar control.
protected calEventCalendar_VisibleMonthChanged ( object sender, System.Web.UI.WebControls.MonthChangedEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.MonthChangedEventArgs The instance containing the event data.
Результат void

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

Handles the SelectedIndexChanged event of the cblCampus control.
protected cblCampus_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the SelectedIndexChanged event of the cblCategory control.
protected cblCategory_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

protected lbDateRangeRefresh_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void