C# Class RockWeb.Blocks.Core.DateRangeContextSetter

Inheritance: Rock.Web.UI.RockBlock
Datei anzeigen Open project: NewPointe/Rockit

Protected Properties

Property Type Description
ContextPreferenceName string

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.

SetDateRangeContext ( string dateRangeValues, bool refreshPage = false ) : void

Sets the schedule context.

btnSelect_Click ( object sender, EventArgs e ) : void

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

SetDateRangeContext() protected method

Sets the schedule context.
protected SetDateRangeContext ( string dateRangeValues, bool refreshPage = false ) : void
dateRangeValues string
refreshPage bool if set to true [refresh page].
return void

btnSelect_Click() protected method

Handles the Click event of the btnSelect control.
protected btnSelect_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

Property Details

ContextPreferenceName protected_oe static_oe property

The context preference name
protected static string ContextPreferenceName
return string