C# Class RockWeb.Blocks.Core.LocationDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Mostrar archivo Open project: SparkDevNetwork/Rock

Private Properties

Property Type Description
BuildAttributeEdits void
FlushCampus void
SetEditMode void
ShowEditDetails void
ShowReadonlyDetails void

Public Methods

Method Description
ShowDetail ( int locationId ) : void

Shows the detail.

ShowDetail ( int locationId, int parentLocationId ) : 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.

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.

Private Methods

Method Description
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.

Method Details

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 locationId ) : void
locationId int The location identifier.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int locationId, int parentLocationId ) : void
locationId int The location identifier.
parentLocationId int The parent location 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

btnStandardize_Click() protected method

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.
return void

ddlLocationType_SelectedIndexChanged() protected method

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.
return void