C# Класс RockWeb.Blocks.Crm.LayoutDetail

Наследование: Rock.Web.UI.RockBlock, IDetailBlock
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

GetBreadCrumbs() публичный Метод

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.
Результат List

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

ShowDetail() публичный Метод

Shows the detail.
public ShowDetail ( int layoutId ) : void
layoutId int The layout identifier.
Результат void

ShowDetail() публичный Метод

Shows the detail.
public ShowDetail ( int layoutId, int siteId ) : void
layoutId int The layout identifier.
siteId int The group id.
Результат void

btnCancel_Click() защищенный Метод

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.
Результат void

btnEdit_Click() защищенный Метод

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.
Результат void

btnSave_Click() защищенный Метод

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.
Результат void