C# Класс RockWeb.Blocks.Core.LocationDetail

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

Private Properties

Свойство Тип Описание
BuildAttributeEdits void
FlushCampus void
SetEditMode void
ShowEditDetails void
ShowReadonlyDetails void

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

Метод Описание
ShowDetail ( int locationId ) : void

Shows the detail.

ShowDetail ( int locationId, int parentLocationId ) : void

Shows the detail.

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

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

btnStandardize_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnStandardize control.

ddlLocationType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlLocationType control.

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

Метод Описание
BuildAttributeEdits ( Location location, bool setValues ) : void
FlushCampus ( int locationId ) : void
SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( Location location ) : void

Shows the edit details.

ShowReadonlyDetails ( Location location ) : void

Shows the readonly details.

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

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

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

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 locationId ) : void
locationId int The location identifier.
Результат void

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

Shows the detail.
public ShowDetail ( int locationId, int parentLocationId ) : void
locationId int The location identifier.
parentLocationId int The parent location identifier.
Результат 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

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

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

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

Handles the Click event of the btnStandardize control.
protected btnStandardize_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

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

Handles the SelectedIndexChanged event of the ddlLocationType control.
protected ddlLocationType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void