C# Class RockWeb.Blocks.Prayer.PrayerRequestEntryKiosk

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

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.

btnDone_Click ( object sender, EventArgs e ) : void

When done button clicked send them to the homepage

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event to save the prayer request.

lbPrayerCancel_Click ( object sender, EventArgs e ) : void

When cancel clicked send them to the homepage

Private Methods

Method Description
BindCategories ( string categoryGuid ) : void

Bind the category selector to the correct set of categories.

GoHome ( ) : void
IsValid ( ) : bool

Returns true if the form is valid; false otherwise.

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

btnDone_Click() protected method

When done button clicked send them to the homepage
protected btnDone_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnSave_Click() protected method

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.
return void

lbPrayerCancel_Click() protected method

When cancel clicked send them to the homepage
protected lbPrayerCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void