C# Класс RockWeb.Blocks.Administration.SystemConfiguration

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

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

Метод Описание
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.

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

Метод Описание
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.

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

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

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.
Результат 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

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

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
Результат bool

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

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
Результат void