C# Class ActivEarth.Groups.CreateGroup

Inheritance: System.Web.UI.Page
Afficher le fichier Open project: mlcamilli/ActivEarth

Protected Properties

Свойство Type Description
AddHashTagButton global::System.Web.UI.WebControls.Button
CancelButton global::System.Web.UI.WebControls.Button
ClearHashTagsButton global::System.Web.UI.WebControls.Button
CreateGroupButton global::System.Web.UI.WebControls.Button
DescriptionLabel global::System.Web.UI.WebControls.Label
DescriptionRequired global::System.Web.UI.WebControls.RequiredFieldValidator
ErrorMessage global::System.Web.UI.WebControls.Literal
GroupNameLabel global::System.Web.UI.WebControls.Label
GroupNameRequired global::System.Web.UI.WebControls.RequiredFieldValidator
RegisterGroupValidationSummary global::System.Web.UI.WebControls.ValidationSummary
lblAllHashTags global::System.Web.UI.WebControls.Label
lblHashTag global::System.Web.UI.WebControls.Label
lblHashTags global::System.Web.UI.WebControls.Label
txbDescription global::System.Web.UI.WebControls.TextBox
txbGroupName global::System.Web.UI.WebControls.TextBox
txbHashTag global::System.Web.UI.WebControls.TextBox

Méthodes protégées

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

Method called when the Add Hashtag Button is clicked. Adds the text in txbHashTag to the list of Hashtags and clears the text in txbHashtag.

Cancel ( object sender, EventArgs e ) : void

Method called when the Cancel Button is clicked. Redirects the user back to the Groups page.

CreateNewGroup ( object sender, EventArgs e ) : void

Method called when the Create Group Button is clicked. Pulls information from the text boxes on the page, adds a welcome message to the Group wall, and inserts the new group into the Database.

Page_Load ( object sender, EventArgs e ) : void

Prepares the list of hashtags when the page loads. Other fields are empty for the new Group. Redirects if the User is not logged in.

RemoveHashTags ( object sender, EventArgs e ) : void

Method called when the Remove Hashtags Button is clicked. Clears the list of Hashtags.

Method Details

AddHashTag() protected méthode

Method called when the Add Hashtag Button is clicked. Adds the text in txbHashTag to the list of Hashtags and clears the text in txbHashtag.
protected AddHashTag ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Cancel() protected méthode

Method called when the Cancel Button is clicked. Redirects the user back to the Groups page.
protected Cancel ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

CreateNewGroup() protected méthode

Method called when the Create Group Button is clicked. Pulls information from the text boxes on the page, adds a welcome message to the Group wall, and inserts the new group into the Database.
protected CreateNewGroup ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Page_Load() protected méthode

Prepares the list of hashtags when the page loads. Other fields are empty for the new Group. Redirects if the User is not logged in.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

RemoveHashTags() protected méthode

Method called when the Remove Hashtags Button is clicked. Clears the list of Hashtags.
protected RemoveHashTags ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

AddHashTagButton protected_oe property

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

CancelButton protected_oe property

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

ClearHashTagsButton protected_oe property

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

CreateGroupButton protected_oe property

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

DescriptionLabel protected_oe property

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

DescriptionRequired protected_oe property

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

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

GroupNameLabel protected_oe property

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

GroupNameRequired protected_oe property

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

RegisterGroupValidationSummary protected_oe property

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

lblAllHashTags protected_oe property

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

lblHashTag protected_oe property

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

lblHashTags protected_oe property

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

txbDescription protected_oe property

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

txbGroupName protected_oe property

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

txbHashTag protected_oe property

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