C# Class ActivEarth.Groups.GroupDisplay

Show file Open project: mlcamilli/ActivEarth

Protected Properties

Property Type Description
ContestDisplayTable1 global::ActivEarth.Competition.Contests.ContestDisplayTable
EmptyContest global::System.Web.UI.WebControls.Label
MembersDisplayTable1 global::ActivEarth.Groups.MembersDisplayTable
PostButton global::System.Web.UI.WebControls.Button
WallDisplay1 global::ActivEarth.Groups.WallDisplay
hypSeeMore global::System.Web.UI.WebControls.HyperLink
lblActivityScore global::System.Web.UI.WebControls.Label
lblDescription global::System.Web.UI.WebControls.Label
lblGreenScore global::System.Web.UI.WebControls.Label
lblGroupName global::System.Web.UI.WebControls.Label
lblHashTags global::System.Web.UI.WebControls.Label
txbMessage global::System.Web.UI.WebControls.TextBox
txbTitle global::System.Web.UI.WebControls.TextBox

Protected Methods

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

Prepares the Group name, Group description, list of Hashtags, Green score and Activity Score, preview User table, Contests table, and Group Wall table to display when the page loads. Redirects the user if they have not signed in or if a Group ID has not been provided.

PostMessage ( object sender, EventArgs e ) : void

Method called when the Post Button is clicked. Adds a Message to the Group Wall using the text in txbTitle and txbMessage and including a time stamp.

Method Details

Page_Load() protected method

Prepares the Group name, Group description, list of Hashtags, Green score and Activity Score, preview User table, Contests table, and Group Wall table to display when the page loads. Redirects the user if they have not signed in or if a Group ID has not been provided.
protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

PostMessage() protected method

Method called when the Post Button is clicked. Adds a Message to the Group Wall using the text in txbTitle and txbMessage and including a time stamp.
protected PostMessage ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

ContestDisplayTable1 protected property

ContestDisplayTable1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Competition.Contests.ContestDisplayTable ContestDisplayTable1
return global::ActivEarth.Competition.Contests.ContestDisplayTable

EmptyContest protected property

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

MembersDisplayTable1 protected property

MembersDisplayTable1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Groups.MembersDisplayTable MembersDisplayTable1
return global::ActivEarth.Groups.MembersDisplayTable

PostButton protected property

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

WallDisplay1 protected property

WallDisplay1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ActivEarth.Groups.WallDisplay WallDisplay1
return global::ActivEarth.Groups.WallDisplay

hypSeeMore protected property

hypSeeMore control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.HyperLink hypSeeMore
return global::System.Web.UI.WebControls.HyperLink

lblActivityScore protected property

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

lblDescription protected property

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

lblGreenScore protected property

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

lblGroupName protected property

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

lblHashTags protected 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
return global::System.Web.UI.WebControls.Label

txbMessage protected property

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

txbTitle protected property

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