C# Class RockWeb.Blocks.Prayer.AddPrayerRequest

Inheritance: Rock.Web.UI.RockBlock
Afficher le fichier Open project: CentralAZ/Rockit-CentralAZ

Méthodes protégées

Méthode 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.

btnAddAnother_Click ( object sender, EventArgs e ) : void

Set up the form for another request from the same person.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event to save the prayer request.

Private Methods

Méthode Description
BindCategories ( string categoryGuid ) : void

Bind the category selector to the correct set of categories.

IsValid ( ) : bool

Returns true if the form is valid; false otherwise.

Method Details

OnInit() protected méthode

Handles the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Handles the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

btnAddAnother_Click() protected méthode

Set up the form for another request from the same person.
protected btnAddAnother_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnSave_Click() protected méthode

Handles the Click event to save the prayer request.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void