C# Class RockWeb.Blocks.Cms.HtmlContentDetail

Inheritance: Rock.Web.UI.RockBlockCustomSettings
Show file Open project: SparkDevNetwork/Rock

Protected Methods

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

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

SelectVersion_Click ( object sender, Rock e ) : void

Handles the Click event of the SelectVersion control.

ShowSettings ( ) : void

Shows the settings.

ShowView ( ) : void

Shows the view.

gVersions_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gVersions control.

lbApprove_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbApprove control.

lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancel control.

lbDeny_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbDeny control.

lbReturnToEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbReturnToEdit control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

lbShowVersionGrid_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbShowVersionGrid control.

Private Methods

Method Description
BindGrid ( ) : void

Binds the grid.

EntityValue ( ) : string

Entities the value.

GetMaxVersionOfHtmlContent ( ) : int?

Gets the maximum version that this HtmlContent block

SetApprovalValues ( bool approved, PersonAlias personAlias ) : void

Sets the approval values.

ShowEditDetail ( RockWeb.Blocks.Cms.HtmlContent htmlContent ) : void

Shows the edit detail.

Method Details

HtmlContentDetail_BlockUpdated() protected method

Handles the BlockUpdated event of the HtmlContentDetail control.
protected HtmlContentDetail_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

SelectVersion_Click() protected method

Handles the Click event of the SelectVersion control.
protected SelectVersion_Click ( object sender, Rock e ) : void
sender object The source of the event.
e Rock The instance containing the event data.
return void

ShowSettings() protected method

Shows the settings.
protected ShowSettings ( ) : void
return void

ShowView() protected method

Shows the view.
protected ShowView ( ) : void
return void

gVersions_GridRebind() protected method

Handles the GridRebind event of the gVersions control.
protected gVersions_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbApprove_Click() protected method

Handles the Click event of the lbApprove control.
protected lbApprove_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbCancel_Click() protected method

Handles the Click event of the lbCancel control.
protected lbCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbDeny_Click() protected method

Handles the Click event of the lbDeny control.
protected lbDeny_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbReturnToEdit_Click() protected method

Handles the Click event of the lbReturnToEdit control.
protected lbReturnToEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbSave_Click() protected method

Handles the Click event of the lbSave control.
protected lbSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbShowVersionGrid_Click() protected method

Handles the Click event of the lbShowVersionGrid control.
protected lbShowVersionGrid_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void