C# Class RockWeb.Blocks.Cms.SiteDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Show file Open project: SparkDevNetwork/Rock

Public Methods

Method Description
ShowDetail ( int siteId ) : void

Shows the edit.

Protected Methods

Method 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

Method 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 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

ShowDetail() public method

Shows the edit.
public ShowDetail ( int siteId ) : void
siteId int The site id.
return void

btnCancel_Click() protected method

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.
return void

btnCompileTheme_Click() protected method

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.
return void

btnDeleteCancel_Click() protected method

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.
return void

btnDeleteConfirm_Click() protected method

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.
return void

btnDelete_Click() protected method

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.
return void

btnEdit_Click() protected method

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.
return void

btnSave_Click() protected method

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.
return void

cbEnableMobileRedirect_CheckedChanged() protected method

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.
return void

cbEnablePageViews_CheckedChanged() protected method

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.
return void