C# Class RockWeb.Blocks.Crm.LayoutDetail

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

Méthodes publiques

Méthode Description
GetBreadCrumbs ( PageReference pageReference ) : List

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs

ShowDetail ( int layoutId ) : void

Shows the detail.

ShowDetail ( int layoutId, int siteId ) : void

Shows the detail.

Méthodes protégées

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

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.

Private Methods

Méthode Description
LoadDropDowns ( ) : void

Loads the drop downs.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( Rock layout ) : void

Shows the edit details.

ShowReadonlyDetails ( Rock layout ) : void

Shows the readonly details.

Method Details

GetBreadCrumbs() public méthode

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs
public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference The page reference.
Résultat List

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 detail.
public ShowDetail ( int layoutId ) : void
layoutId int The layout identifier.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int layoutId, int siteId ) : void
layoutId int The layout identifier.
siteId int The group 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

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