C# Class RockWeb.Blocks.Administration.SystemConfiguration

Inheritance: Rock.Web.UI.RockBlock
Afficher le fichier Open project: CentralAZ/Rockit-CentralAZ

Méthodes protégées

Méthode 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

Méthode 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 méthode

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.
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

SaveMaxAllowedContentLength() protected méthode

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
Résultat bool

bbtnSaveConfig_Click() protected méthode

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
Résultat void