C# Class RockWeb.Blocks.Administration.ZoneBlocks

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

Protected Methods

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

Handles the Add event of the LayoutBlocks 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.

OnPreRender ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.PreRender event.

ShowEdit ( BlockLocation location, int blockId ) : void

Shows the edit.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

ddlBlockType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlBlockType control.

gLayoutBlocks_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gLayoutBlocks control.

gLayoutBlocks_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gLayoutBlocks control.

gLayoutBlocks_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gLayoutBlocks control.

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

Handles the GridReorder event of the gLayoutBlocks control.

gPageBlocks_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gPageBlocks control.

gPageBlocks_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gPageBlocks control.

gPageBlocks_GridAdd ( object sender, EventArgs e ) : void

Handles the GridAdd event of the gPageBlocks control.

gPageBlocks_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gPageBlocks control.

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

Handles the GridReorder event of the gPageBlocks control.

Private Methods

Method Description
BindGrids ( ) : void

Binds the grids.

BindLayoutGrid ( ) : void

Binds the layout grid.

BindPageGrid ( ) : void

Binds the page grid.

LoadBlockTypes ( ) : void

Loads the block types.

Method Details

LayoutBlocks_Add() protected method

Handles the Add event of the LayoutBlocks control.
protected LayoutBlocks_Add ( 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

OnPreRender() protected method

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

ShowEdit() protected method

Shows the edit.
protected ShowEdit ( BlockLocation location, int blockId ) : void
location BlockLocation The location.
blockId int The block id.
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

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

ddlBlockType_SelectedIndexChanged() protected method

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

gLayoutBlocks_Delete() protected method

Handles the Delete event of the gLayoutBlocks control.
protected gLayoutBlocks_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

gLayoutBlocks_Edit() protected method

Handles the Edit event of the gLayoutBlocks control.
protected gLayoutBlocks_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

gLayoutBlocks_GridRebind() protected method

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

gLayoutBlocks_GridReorder() protected method

Handles the GridReorder event of the gLayoutBlocks control.
protected gLayoutBlocks_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.GridReorderEventArgs The instance containing the event data.
return void

gPageBlocks_Delete() protected method

Handles the Delete event of the gPageBlocks control.
protected gPageBlocks_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

gPageBlocks_Edit() protected method

Handles the Edit event of the gPageBlocks control.
protected gPageBlocks_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

gPageBlocks_GridAdd() protected method

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

gPageBlocks_GridRebind() protected method

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

gPageBlocks_GridReorder() protected method

Handles the GridReorder event of the gPageBlocks control.
protected gPageBlocks_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.GridReorderEventArgs The instance containing the event data.
return void