C# Class RockWeb.Blocks.Administration.SystemConfiguration

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

Protected Methods

Method Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the SystemConfiguration 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.

SaveMaxAllowedContentLength ( ) : bool

Transform the web.config to inject the maximum allowed content length into the requestLimits tag of the requestFiltering section of the web.config.

bbtnSaveConfig_Click ( object sender, EventArgs e ) : void

Handles saving all the data set by the user to the web.config.

Private Methods

Method Description
BindMaxFileSize ( ) : void

Bind the MaxRequestLength and maxAllowedContentLength values from the web.config into the number boxes on the form.

BindOtherAppSettings ( ) : void

Bind the other settings that are in the appSettings section of the web.config.

BindTimeZones ( ) : void

Bind the available time zones and select the one that's configured in the web.config's OrgTimeZone setting.

Method Details

Block_BlockUpdated() protected method

Handles the BlockUpdated event of the SystemConfiguration 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

SaveMaxAllowedContentLength() protected method

Transform the web.config to inject the maximum allowed content length into the requestLimits tag of the requestFiltering section of the web.config.
protected SaveMaxAllowedContentLength ( ) : bool
return bool

bbtnSaveConfig_Click() protected method

Handles saving all the data set by the user to the web.config.
protected bbtnSaveConfig_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void