C# Class RockWeb.Blocks.Core.Components

Inheritance: Rock.Web.UI.RockBlock
Datei anzeigen Open project: NewSpring/Rock

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.

ShowEdit ( int serviceId ) : void

Shows the edit panel

mdEditComponent_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdEditComponent control.

rFilter_ApplyFilterClick ( object sender, EventArgs e ) : void

Handles the ApplyFilterClick event of the fDevice control.

rGrid_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the rGrid control.

rGrid_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the rGrid control.

rGrid_GridReorder ( object sender, GridReorderEventArgs e ) : void

Handles the GridReorder event of the rGrid control.

rGrid_RowDataBound ( object sender, System e ) : void

Handles the RowDataBound event of the rGrid control.

Private Methods

Method Description
BindFilter ( ) : void

Binds the filter.

BindGrid ( ) : void

Binds the grid.

DisplayError ( string message ) : void

Displays the error.

HideDialog ( ) : void

Hides the dialog.

LoadEditControls ( int serviceId, bool setValues ) : void

Loads the edit controls.

ShowDialog ( bool setValues = false ) : void

Shows the dialog.

ShowDialog ( string dialog, bool setValues = false ) : void

Shows the dialog.

Method Details

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e 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 EventArgs The object that contains the event data.
return void

ShowEdit() protected method

Shows the edit panel
protected ShowEdit ( int serviceId ) : void
serviceId int The service id.
return void

mdEditComponent_SaveClick() protected method

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

rFilter_ApplyFilterClick() protected method

Handles the ApplyFilterClick event of the fDevice control.
protected rFilter_ApplyFilterClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

rGrid_Edit() protected method

Handles the Edit event of the rGrid control.
protected rGrid_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

rGrid_GridRebind() protected method

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

rGrid_GridReorder() protected method

Handles the GridReorder event of the rGrid control.
protected rGrid_GridReorder ( object sender, GridReorderEventArgs e ) : void
sender object The source of the event.
e GridReorderEventArgs The instance containing the event data.
return void

rGrid_RowDataBound() protected method

Handles the RowDataBound event of the rGrid control.
protected rGrid_RowDataBound ( object sender, System e ) : void
sender object The source of the event.
e System The instance containing the event data.
return void