C# Class Rockweb.Blocks.Crm.Disc

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

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void
btnSaveResults_Click ( object sender, EventArgs e ) : void
btnScoreTest_Click ( object sender, EventArgs e ) : void

Gets checked RadioButtons, scores test, and displays results.

Private Methods

Method Description
buildQuestionTable ( ) : void

Builds a table with the questions listed.

buildRadioButtonTableRow ( DiscService response ) : void

Inserts a TableRow into the Question Table.

createRadioButton ( string questionNumber, string responseNumber, string MorL ) : System.Web.UI.WebControls.RadioButton

Creates a RadioButton for display on the test form.

findRadioButton ( Control container, string name ) : System.Web.UI.WebControls.RadioButton

Recursively finds a particular RadioButton in the passed-in container.

Method Details

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnSaveResults_Click() protected method

protected btnSaveResults_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnScoreTest_Click() protected method

Gets checked RadioButtons, scores test, and displays results.
protected btnScoreTest_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void