C# Class RockWeb.Blocks.Core.DefinedTypeDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Datei anzeigen Open project: CentralAZ/Rockit-CentralAZ

Public Methods

Method Description
ShowDetail ( string itemKey, int itemKeyValue ) : void

Shows the detail.

Protected Methods

Method Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

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.

btnCancelDefinedTypeAttribute_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancelDefinedTypeAttribute control.

btnCancelType_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancelType 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.

btnSaveDefinedTypeAttribute_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSaveDefinedTypeAttribute control.

btnSaveType_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSaveType control.

gDefinedTypeAttributes_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gDefinedTypeAttributes control.

gDefinedTypeAttributes_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gDefinedTypeAttributes control.

gDefinedTypeAttributes_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gDefinedTypeAttributes control.

gDefinedTypeAttributes_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gDefinedTypeAttributes control.

gDefinedTypeAttributes_ShowEdit ( System.Guid attributeGuid ) : void

Gs the defined type attributes_ show edit.

Private Methods

Method Description
BindDefinedTypeAttributesGrid ( ) : void

Binds the defined type attributes grid.

InitItemId ( ) : int?

Determines which item to display based on either the configuration or the definedTypeId that was passed in.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( DefinedType definedType ) : void

Shows the edit details.

ShowReadonlyDetails ( DefinedType definedType ) : void

Shows the readonly details.

gDefinedTypeAttributes_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void

Handles the GridReorder event of the gDefinedTypeAttributes control.

Method Details

Block_BlockUpdated() protected method

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

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 ( string itemKey, int itemKeyValue ) : void
itemKey string The item key.
itemKeyValue int The item key value.
return void

btnCancelDefinedTypeAttribute_Click() protected method

Handles the Click event of the btnCancelDefinedTypeAttribute control.
protected btnCancelDefinedTypeAttribute_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnCancelType_Click() protected method

Handles the Click event of the btnCancelType control.
protected btnCancelType_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

btnSaveDefinedTypeAttribute_Click() protected method

Handles the Click event of the btnSaveDefinedTypeAttribute control.
protected btnSaveDefinedTypeAttribute_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnSaveType_Click() protected method

Handles the Click event of the btnSaveType control.
protected btnSaveType_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

gDefinedTypeAttributes_Add() protected method

Handles the Add event of the gDefinedTypeAttributes control.
protected gDefinedTypeAttributes_Add ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

gDefinedTypeAttributes_Delete() protected method

Handles the Delete event of the gDefinedTypeAttributes control.
protected gDefinedTypeAttributes_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gDefinedTypeAttributes_Edit() protected method

Handles the Edit event of the gDefinedTypeAttributes control.
protected gDefinedTypeAttributes_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gDefinedTypeAttributes_GridRebind() protected method

Handles the GridRebind event of the gDefinedTypeAttributes control.
protected gDefinedTypeAttributes_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

gDefinedTypeAttributes_ShowEdit() protected method

Gs the defined type attributes_ show edit.
protected gDefinedTypeAttributes_ShowEdit ( System.Guid attributeGuid ) : void
attributeGuid System.Guid The attribute GUID.
return void