C# Class ActivEarth.Groups.EditGroup

Afficher le fichier Open project: mlcamilli/ActivEarth

Protected Properties

Свойство Type Description
AddHashTagButton global::System.Web.UI.WebControls.Button
BootMembersButton global::System.Web.UI.WebControls.Button
CancelButton global::System.Web.UI.WebControls.Button
ClearHashTagsButton global::System.Web.UI.WebControls.Button
DeleteButton global::System.Web.UI.WebControls.Button
DescriptionLabel global::System.Web.UI.WebControls.Label
DescriptionRequired global::System.Web.UI.WebControls.RequiredFieldValidator
EditGroupButton global::System.Web.UI.WebControls.Button
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.

BootMembers ( object sender, EventArgs e ) : void

Method called when the Manage Group Members Button is clicked. Redirects the Owner to the Manage Group Members Page.

Cancel ( object sender, EventArgs e ) : void

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

DeleteGroup ( object sender, EventArgs e ) : void

Method called when the Delete Group Button is clicked. Removes the Group from the Database and Redirects the user back to the Groups page.

EditGroupInformation ( object sender, EventArgs e ) : void

Method called when the Save Group Information Button is clicked. Pulls information from the text boxes on the page and updates the group information in the Database.

Page_Load ( object sender, EventArgs e ) : void

Populates the text fields on the page with the Group's current information when the page loads. Redirects if the User is not logged in, the ID of the Group was not provided, or if the User is not the Owner of the Group.

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 EventArgs
Résultat void

BootMembers() protected méthode

Method called when the Manage Group Members Button is clicked. Redirects the Owner to the Manage Group Members Page.
protected BootMembers ( object sender, EventArgs e ) : void
sender object
e 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 EventArgs
Résultat void

DeleteGroup() protected méthode

Method called when the Delete Group Button is clicked. Removes the Group from the Database and Redirects the user back to the Groups page.
protected DeleteGroup ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

EditGroupInformation() protected méthode

Method called when the Save Group Information Button is clicked. Pulls information from the text boxes on the page and updates the group information in the Database.
protected EditGroupInformation ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void

Page_Load() protected méthode

Populates the text fields on the page with the Group's current information when the page loads. Redirects if the User is not logged in, the ID of the Group was not provided, or if the User is not the Owner of the Group.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e 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 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

BootMembersButton protected_oe property

BootMembersButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button BootMembersButton
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

DeleteButton protected_oe property

DeleteButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button DeleteButton
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

EditGroupButton protected_oe property

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

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