C# Class RockWeb.Blocks.Cms.SiteDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Afficher le fichier Open project: SparkDevNetwork/Rock

Méthodes publiques

Méthode Description
ShowDetail ( int siteId ) : void

Shows the edit.

Méthodes protégées

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

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnCompileTheme_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCompileTheme control.

btnDeleteCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDeleteCancel control.

btnDeleteConfirm_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDeleteConfirm control.

btnDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnEdit control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

cbEnableMobileRedirect_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the cbEnableMobileRedirect control.

cbEnablePageViews_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the cbEnablePageViews control.

Private Methods

Méthode Description
LoadDropDowns ( ) : void

Loads the drop downs.

SetControlsVisiblity ( ) : void

Sets the controls visiblity.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( Rock site ) : void

Shows the edit details.

ShowReadonlyDetails ( Rock site ) : void

Shows the readonly details.

Method Details

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

ShowDetail() public méthode

Shows the edit.
public ShowDetail ( int siteId ) : void
siteId int The site id.
Résultat void

btnCancel_Click() protected méthode

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnCompileTheme_Click() protected méthode

Handles the Click event of the btnCompileTheme control.
protected btnCompileTheme_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnDeleteCancel_Click() protected méthode

Handles the Click event of the btnDeleteCancel control.
protected btnDeleteCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnDeleteConfirm_Click() protected méthode

Handles the Click event of the btnDeleteConfirm control.
protected btnDeleteConfirm_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnDelete_Click() protected méthode

Handles the Click event of the btnDelete control.
protected btnDelete_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnEdit_Click() protected méthode

Handles the Click event of the btnEdit control.
protected btnEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnSave_Click() protected méthode

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

cbEnableMobileRedirect_CheckedChanged() protected méthode

Handles the CheckedChanged event of the cbEnableMobileRedirect control.
protected cbEnableMobileRedirect_CheckedChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

cbEnablePageViews_CheckedChanged() protected méthode

Handles the CheckedChanged event of the cbEnablePageViews control.
protected cbEnablePageViews_CheckedChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void