C# Class ActivEarth.Competition.Contests.ContestCreationPage

Afficher le fichier Open project: mlcamilli/ActivEarth

Protected Properties

Свойство Type Description
ContestNameLabel global::System.Web.UI.WebControls.Label
ContestNameRequired global::System.Web.UI.WebControls.RequiredFieldValidator
CreateContestButton global::System.Web.UI.WebControls.Button
CreateContestValidationSummary global::System.Web.UI.WebControls.ValidationSummary
ErrorMessage global::System.Web.UI.WebControls.Literal
Label1 global::System.Web.UI.WebControls.Label
ToolKitScript global::AjaxControlToolkit.ToolkitScriptManager
chkContestSearchable global::System.Web.UI.WebControls.CheckBox
contestDescriptionLabel global::System.Web.UI.WebControls.Label
contestEndDateCalender global::AjaxControlToolkit.CalendarExtender
contestEndDateLabel global::System.Web.UI.WebControls.Label
contestEndDateRequired global::System.Web.UI.WebControls.RequiredFieldValidator
contestEndFormat global::System.Web.UI.WebControls.RegularExpressionValidator
contestEndGoalLabel global::System.Web.UI.WebControls.Label
contestEndsAfterStart global::System.Web.UI.WebControls.CustomValidator
contestModeGoalPanel global::System.Web.UI.WebControls.Panel
contestModeGoalRequired global::System.Web.UI.WebControls.RequiredFieldValidator
contestModeLabel global::System.Web.UI.WebControls.Label
contestModeTimePanel global::System.Web.UI.WebControls.Panel
contestStartAfterToday global::System.Web.UI.WebControls.CustomValidator
contestStartDateCalender global::AjaxControlToolkit.CalendarExtender
contestStartDateLabel global::System.Web.UI.WebControls.Label
contestStartFormat global::System.Web.UI.WebControls.RegularExpressionValidator
contestStartRequired global::System.Web.UI.WebControls.RequiredFieldValidator
contestTypeLabel global::System.Web.UI.WebControls.Label
ddlContestMode global::System.Web.UI.WebControls.DropDownList
ddlContestType global::System.Web.UI.WebControls.DropDownList
ddlStatisticMeasured global::System.Web.UI.WebControls.DropDownList
displayEndDateCalender global::System.Web.UI.WebControls.ImageButton
displayStartDateCalender global::System.Web.UI.WebControls.ImageButton
lblContestSearchable global::System.Web.UI.WebControls.Label
txbContestDescription global::System.Web.UI.WebControls.TextBox
txbContestEndDate global::System.Web.UI.WebControls.TextBox
txbContestEndGoal global::System.Web.UI.WebControls.TextBox
txbContestEndGoalFilter global::AjaxControlToolkit.FilteredTextBoxExtender
txbContestName global::System.Web.UI.WebControls.TextBox
txbContestStartDate global::System.Web.UI.WebControls.TextBox

Méthodes protégées

Méthode Description
CreateContest ( object sender, EventArgs e ) : void

Click event for the Create Contest button. Creates a Contest from the user supplied fields.

Page_Load ( object sender, EventArgs e ) : void

Loads the page.

ValidateEndDate ( object source, ServerValidateEventArgs args ) : void

Used to validate that the end date of a contest is on or after the start date.

ValidateStartDate ( object source, ServerValidateEventArgs args ) : void

Used to validate that the start date of a contest is after the current date.

ddlContestMode_SelectedIndexChanged ( object sender, EventArgs e ) : void

Index changed event for contest mode selection. Used to update the user fields when the contest mode is changed.

Private Methods

Méthode Description
SetModeDisplay ( ) : void

Updates the display on the page to display the correct Contest end mode entry.

Method Details

CreateContest() protected méthode

Click event for the Create Contest button. Creates a Contest from the user supplied fields.
protected CreateContest ( object sender, EventArgs e ) : void
sender object Object that sent the event
e EventArgs The event arguments.
Résultat void

Page_Load() protected méthode

Loads the page.
protected Page_Load ( object sender, EventArgs e ) : void
sender object Object that requested the page load.
e EventArgs The event arguments.
Résultat void

ValidateEndDate() protected méthode

Used to validate that the end date of a contest is on or after the start date.
protected ValidateEndDate ( object source, ServerValidateEventArgs args ) : void
source object
args ServerValidateEventArgs
Résultat void

ValidateStartDate() protected méthode

Used to validate that the start date of a contest is after the current date.
protected ValidateStartDate ( object source, ServerValidateEventArgs args ) : void
source object
args ServerValidateEventArgs
Résultat void

ddlContestMode_SelectedIndexChanged() protected méthode

Index changed event for contest mode selection. Used to update the user fields when the contest mode is changed.
protected ddlContestMode_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object Object that sent the event
e EventArgs The event arguments.
Résultat void

Property Details

ContestNameLabel protected_oe property

ContestNameLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label ContestNameLabel
Résultat global::System.Web.UI.WebControls.Label

ContestNameRequired protected_oe property

ContestNameRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator ContestNameRequired
Résultat global::System.Web.UI.WebControls.RequiredFieldValidator

CreateContestButton protected_oe property

CreateContestButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button CreateContestButton
Résultat global::System.Web.UI.WebControls.Button

CreateContestValidationSummary protected_oe property

CreateContestValidationSummary control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ValidationSummary CreateContestValidationSummary
Résultat global::System.Web.UI.WebControls.ValidationSummary

ErrorMessage protected_oe property

ErrorMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ErrorMessage
Résultat global::System.Web.UI.WebControls.Literal

Label1 protected_oe property

Label1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label Label1
Résultat global::System.Web.UI.WebControls.Label

ToolKitScript protected_oe property

ToolKitScript control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.ToolkitScriptManager ToolKitScript
Résultat global::AjaxControlToolkit.ToolkitScriptManager

chkContestSearchable protected_oe property

chkContestSearchable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox chkContestSearchable
Résultat global::System.Web.UI.WebControls.CheckBox

contestDescriptionLabel protected_oe property

contestDescriptionLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestDescriptionLabel
Résultat global::System.Web.UI.WebControls.Label

contestEndDateCalender protected_oe property

contestEndDateCalender control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.CalendarExtender contestEndDateCalender
Résultat global::AjaxControlToolkit.CalendarExtender

contestEndDateLabel protected_oe property

contestEndDateLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestEndDateLabel
Résultat global::System.Web.UI.WebControls.Label

contestEndDateRequired protected_oe property

contestEndDateRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator contestEndDateRequired
Résultat global::System.Web.UI.WebControls.RequiredFieldValidator

contestEndFormat protected_oe property

contestEndFormat control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator contestEndFormat
Résultat global::System.Web.UI.WebControls.RegularExpressionValidator

contestEndGoalLabel protected_oe property

contestEndGoalLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestEndGoalLabel
Résultat global::System.Web.UI.WebControls.Label

contestEndsAfterStart protected_oe property

contestEndsAfterStart control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator contestEndsAfterStart
Résultat global::System.Web.UI.WebControls.CustomValidator

contestModeGoalPanel protected_oe property

contestModeGoalPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel contestModeGoalPanel
Résultat global::System.Web.UI.WebControls.Panel

contestModeGoalRequired protected_oe property

contestModeGoalRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator contestModeGoalRequired
Résultat global::System.Web.UI.WebControls.RequiredFieldValidator

contestModeLabel protected_oe property

contestModeLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestModeLabel
Résultat global::System.Web.UI.WebControls.Label

contestModeTimePanel protected_oe property

contestModeTimePanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel contestModeTimePanel
Résultat global::System.Web.UI.WebControls.Panel

contestStartAfterToday protected_oe property

contestStartAfterToday control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator contestStartAfterToday
Résultat global::System.Web.UI.WebControls.CustomValidator

contestStartDateCalender protected_oe property

contestStartDateCalender control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.CalendarExtender contestStartDateCalender
Résultat global::AjaxControlToolkit.CalendarExtender

contestStartDateLabel protected_oe property

contestStartDateLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestStartDateLabel
Résultat global::System.Web.UI.WebControls.Label

contestStartFormat protected_oe property

contestStartFormat control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator contestStartFormat
Résultat global::System.Web.UI.WebControls.RegularExpressionValidator

contestStartRequired protected_oe property

contestStartRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator contestStartRequired
Résultat global::System.Web.UI.WebControls.RequiredFieldValidator

contestTypeLabel protected_oe property

contestTypeLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label contestTypeLabel
Résultat global::System.Web.UI.WebControls.Label

ddlContestMode protected_oe property

ddlContestMode control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ddlContestMode
Résultat global::System.Web.UI.WebControls.DropDownList

ddlContestType protected_oe property

ddlContestType control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ddlContestType
Résultat global::System.Web.UI.WebControls.DropDownList

ddlStatisticMeasured protected_oe property

ddlStatisticMeasured control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList ddlStatisticMeasured
Résultat global::System.Web.UI.WebControls.DropDownList

displayEndDateCalender protected_oe property

displayEndDateCalender control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton displayEndDateCalender
Résultat global::System.Web.UI.WebControls.ImageButton

displayStartDateCalender protected_oe property

displayStartDateCalender control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ImageButton displayStartDateCalender
Résultat global::System.Web.UI.WebControls.ImageButton

lblContestSearchable protected_oe property

lblContestSearchable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblContestSearchable
Résultat global::System.Web.UI.WebControls.Label

txbContestDescription protected_oe property

txbContestDescription control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestDescription
Résultat global::System.Web.UI.WebControls.TextBox

txbContestEndDate protected_oe property

txbContestEndDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestEndDate
Résultat global::System.Web.UI.WebControls.TextBox

txbContestEndGoal protected_oe property

txbContestEndGoal control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestEndGoal
Résultat global::System.Web.UI.WebControls.TextBox

txbContestEndGoalFilter protected_oe property

txbContestEndGoalFilter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::AjaxControlToolkit.FilteredTextBoxExtender txbContestEndGoalFilter
Résultat global::AjaxControlToolkit.FilteredTextBoxExtender

txbContestName protected_oe property

txbContestName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestName
Résultat global::System.Web.UI.WebControls.TextBox

txbContestStartDate protected_oe property

txbContestStartDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txbContestStartDate
Résultat global::System.Web.UI.WebControls.TextBox