C# Class RockWeb.Blocks.Crm.PhotoVerify

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

Protected Methods

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

Handles the BlockUpdated event of the control.

FormatPersonLink ( string personId ) : string

Builds a link to the person's details page.

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.

bbtnVerify_Click ( object sender, EventArgs e ) : void

Marks the selected people/photos as verified by setting their group member status Active.

cbShowAll_CheckedChanged ( object sender, EventArgs e ) : void

Handle repainting grid when the show all checkbox is clicked.

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

Builds the image html for the person in the perticular row.

gList_RowSelected ( object sender, RowEventArgs e ) : void

Redirect to the person's profile when their row is clicked.

rGrid_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event to delete the photo.

Private Methods

Method Description
BindGrid ( ) : void

Binds the grid.

gList_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gList control.

Method Details

Block_BlockUpdated() protected method

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

FormatPersonLink() protected method

Builds a link to the person's details page.
protected FormatPersonLink ( string personId ) : string
personId string
return string

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

bbtnVerify_Click() protected method

Marks the selected people/photos as verified by setting their group member status Active.
protected bbtnVerify_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

cbShowAll_CheckedChanged() protected method

Handle repainting grid when the show all checkbox is clicked.
protected cbShowAll_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

gList_RowDataBound() protected method

Builds the image html for the person in the perticular row.
protected gList_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void
sender object
e System.Web.UI.WebControls.GridViewRowEventArgs
return void

gList_RowSelected() protected method

Redirect to the person's profile when their row is clicked.
protected gList_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

rGrid_Delete() protected method

Handles the Delete event to delete the photo.
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