C# Class RockWeb.Blocks.Core.TagDetail

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

Public Methods

Method Description
GetBreadCrumbs ( Rock pageReference ) : List
ShowDetail ( int tagId ) : void

Shows the detail.

ShowDetail ( int tagId, int entityTypeId ) : void

Shows the detail.

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.

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.

rblScope_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the rblScope control.

Private Methods

Method Description
SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( Tag tag ) : void

Shows the edit details.

ShowReadonlyDetails ( Tag tag ) : void

Shows the readonly details.

Method Details

GetBreadCrumbs() public method

public GetBreadCrumbs ( Rock pageReference ) : List
pageReference Rock
return List

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 detail.
public ShowDetail ( int tagId ) : void
tagId int The tag identifier.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int tagId, int entityTypeId ) : void
tagId int The tag identifier.
entityTypeId int The entity type identifier.
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

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

rblScope_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the rblScope control.
protected rblScope_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void