C# Class RockWeb.Blocks.Core.Attributes

Inheritance: Rock.Web.UI.RockBlock
Datei anzeigen Open project: SparkDevNetwork/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 attributeId ) : void

Shows the edit.

ShowEditValue ( int attributeId, bool setValues ) : void

Shows the edit value.

ddlAttrEntityType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlAttrEntityType control.

ddlEntityType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlEntityType control.

mdAttributeValue_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdAttributeValue control.

mdAttribute_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdAttribute control.

rFilter_ApplyFilterClick ( object sender, EventArgs e ) : void

Handles the ApplyFilterClick event of the rFilter control.

rFilter_DisplayFilterValue ( object sender, GridFilter e ) : void

Rs the filter_ display filter value.

rGrid_Add ( object sender, EventArgs e ) : void

Handles the Add event of the rGrid control.

rGrid_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the rGrid 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_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void

Handles the RowDataBound event of the rGrid control.

rGrid_RowSelected ( object sender, RowEventArgs e ) : void

Handles the EditValue event of the rGrid control.

Private Methods

Method Description
BindCategoryFilter ( ) : void

Binds the category filter.

BindFilter ( ) : void

Binds the filter.

BindGrid ( ) : void

Binds the grid.

GetData ( RockContext rockContext ) : IQueryable
HideDialog ( ) : void

Hides the dialog.

RGrid_GridReorder ( object sender, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
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 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

ShowEdit() protected method

Shows the edit.
protected ShowEdit ( int attributeId ) : void
attributeId int The attribute id.
return void

ShowEditValue() protected method

Shows the edit value.
protected ShowEditValue ( int attributeId, bool setValues ) : void
attributeId int The attribute id.
setValues bool if set to true [set values].
return void

ddlAttrEntityType_SelectedIndexChanged() protected method

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

ddlEntityType_SelectedIndexChanged() protected method

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

mdAttributeValue_SaveClick() protected method

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

mdAttribute_SaveClick() protected method

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

rFilter_ApplyFilterClick() protected method

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

rFilter_DisplayFilterValue() protected method

Rs the filter_ display filter value.
protected rFilter_DisplayFilterValue ( object sender, GridFilter e ) : void
sender object The sender.
e Rock.Web.UI.Controls.GridFilter The e.
return void

rGrid_Add() protected method

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

rGrid_Delete() protected method

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

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 Rock.Web.UI.Controls.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 System.EventArgs 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.Web.UI.WebControls.GridViewRowEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.GridViewRowEventArgs The instance containing the event data.
return void

rGrid_RowSelected() protected method

Handles the EditValue event of the rGrid control.
protected rGrid_RowSelected ( 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