C# Class RockWeb.Blocks.Prayer.PrayerCommentsList

Inheritance: Rock.Web.UI.RockBlock
Show file Open project: CentralAZ/Rockit-CentralAZ

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Handles the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Handles the E:System.Web.UI.Control.Load event.

gPrayerComments_CheckChanged ( object sender, RowEventArgs e ) : void

Handles the CheckChanged event of the grid's IsApproved field.

gPrayerComments_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gPrayerComments control.

gPrayerComments_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gPrayerComments control.

gPrayerComments_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void

Handles disabling the Toggle fields if the user does not have Approval rights.

gfFilter_ApplyFilterClick ( object sender, EventArgs e ) : void

Handles the Apply Filter event for the GridFilter

gfFilter_DisplayFilterValue ( object sender, GridFilter e ) : void

Handles displaying the stored filter values.

Private Methods

Method Description
BindCommentsGrid ( ) : void

Binds the comments grid.

BindFilter ( ) : void

Binds any needed data to the Grid Filter also using the user's stored preferences.

gPrayerComments_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gPrayerRequests control.

Method Details

OnInit() protected method

Handles 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

Handles 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

gPrayerComments_CheckChanged() protected method

Handles the CheckChanged event of the grid's IsApproved field.
protected gPrayerComments_CheckChanged ( 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

gPrayerComments_Delete() protected method

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

gPrayerComments_Edit() protected method

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

gPrayerComments_RowDataBound() protected method

Handles disabling the Toggle fields if the user does not have Approval rights.
protected gPrayerComments_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

gfFilter_ApplyFilterClick() protected method

Handles the Apply Filter event for the GridFilter
protected gfFilter_ApplyFilterClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

gfFilter_DisplayFilterValue() protected method

Handles displaying the stored filter values.
protected gfFilter_DisplayFilterValue ( object sender, GridFilter e ) : void
sender object The sender.
e Rock.Web.UI.Controls.GridFilter The e as DisplayFilterValueArgs (hint: e.Key and e.Value).
return void