C# Class RockWeb.Blocks.Core.CategoryDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Datei anzeigen Open project: SparkDevNetwork/Rock

Public Methods

Method Description
ShowDetail ( int categoryId ) : void

Shows the detail.

ShowDetail ( int categoryId, int parentCategoryId ) : void

Shows the detail.

Protected Methods

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

Handles the BlockUpdated event of the Block 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.

ShowSettings ( ) : void

Shows the settings.

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.

mdCategoryDetailConfig_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdCategoryDetailConfig control.

Private Methods

Method Description
SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowEditDetails ( Category category ) : void

Shows the edit details.

ShowReadonlyDetails ( Category category ) : void

Shows the readonly details.

Method Details

Block_BlockUpdated() protected method

Handles the BlockUpdated event of the Block 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 ( int categoryId ) : void
categoryId int The category identifier.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( int categoryId, int parentCategoryId ) : void
categoryId int The category identifier.
parentCategoryId int The parent category id.
return void

ShowSettings() protected method

Shows the settings.
protected ShowSettings ( ) : void
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

mdCategoryDetailConfig_SaveClick() protected method

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