C# Class RockWeb.Blocks.Event.CalendarLava

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

Private Properties

Property Type Description
BindData void
ResetCalendarSelection void
SetCalendarFilterDates void
SetFilterControls bool
ShowError void
ShowWarning void

Protected Methods

Method Description
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

Private Methods

Method Description
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.

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

LoadViewState() protected method

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.
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

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

SaveViewState() protected method

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
return object

btnViewMode_Click() protected method

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.
return void

calEventCalendar_DayRender() protected method

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.
return void

calEventCalendar_SelectionChanged() protected method

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.
return void

calEventCalendar_VisibleMonthChanged() protected method

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.
return void

cblCampus_SelectedIndexChanged() protected method

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.
return void

cblCategory_SelectedIndexChanged() protected method

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.
return void

lbDateRangeRefresh_Click() protected method

protected lbDateRangeRefresh_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void