C# Class Engage.Dnn.TellAFriend.ViewTellAFriend

The ViewTellAFriend class displays the content
Inheritance: ModuleBase
Datei anzeigen Open project: EngageSoftware/Engage-Tell-a-Friend

Protected Properties

Property Type Description
ErrorPanel global::System.Web.UI.WebControls.Panel
FormWrapPanel global::System.Web.UI.WebControls.Panel
FriendEmailPatternValidator global::System.Web.UI.WebControls.RegularExpressionValidator
FriendEmailRequiredValidator global::System.Web.UI.WebControls.RequiredFieldValidator
FriendNameRequiredValidator global::System.Web.UI.WebControls.RequiredFieldValidator
FriendNameTextBox global::System.Web.UI.WebControls.TextBox
FriendsEmailTextBox global::System.Web.UI.WebControls.TextBox
InvisibleCaptcha global::DotNetNuke.Web.UI.WebControls.DnnCaptcha
MessageRow global::System.Web.UI.HtmlControls.HtmlGenericControl
MessageTextBox global::System.Web.UI.WebControls.TextBox
ModalAnchorPanel global::System.Web.UI.WebControls.Panel
ModuleWrap global::System.Web.UI.WebControls.Panel
SenderEmailPatternValidator global::System.Web.UI.WebControls.RegularExpressionValidator
SenderEmailRequiredValidator global::System.Web.UI.WebControls.RequiredFieldValidator
SenderEmailTextBox global::System.Web.UI.WebControls.TextBox
SenderNameRequiredValidator global::System.Web.UI.WebControls.RequiredFieldValidator
SenderNameTextBox global::System.Web.UI.WebControls.TextBox
StandardCaptcha global::DotNetNuke.Web.UI.WebControls.DnnCaptcha
SubmitButton global::System.Web.UI.WebControls.Button
SuccessPanel global::System.Web.UI.WebControls.Panel
TimedCaptcha global::DotNetNuke.Web.UI.WebControls.DnnCaptcha

Private Properties

Property Type Description
AddCssFile void
GetCurrentQueryString string[]
GetCurrentUrl string
LoadSettings void
Page_Load void
PopulateUserInfo void
SetEmailValidation void
SetValidationGroupOnChildControls void
SetupCaptchas void
SubmitButton_Click void

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

ViewTellAFriend ( ) : System

Initializes a new instance of the ViewTellAFriend class.

Private Methods

Method Description
AddCssFile ( ) : void

Adds the CSS file if this is loaded as a skin object rather than a regular module.

GetCurrentQueryString ( ) : string[]

Gets the current query string.

GetCurrentUrl ( ) : string

Gets the current URL.

LoadSettings ( ) : void

Loads the settings.

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

PopulateUserInfo ( ) : void

Populates the "from" fields with the current DNN user's display name and email address.

SetEmailValidation ( ) : void

Sets the validator expression for email fields.

SetValidationGroupOnChildControls ( ) : void

Sets the validation group on child controls.

SetupCaptchas ( ) : void

Sets up the CAPTCHA controls.

SubmitButton_Click ( object sender, EventArgs e ) : void

Handles the Button.Click event of the SubmitButton control.

Method Details

OnInit() protected method

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

ViewTellAFriend() protected method

Initializes a new instance of the ViewTellAFriend class.
protected ViewTellAFriend ( ) : System
return System

Property Details

ErrorPanel protected_oe property

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

FormWrapPanel protected_oe property

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

FriendEmailPatternValidator protected_oe property

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

FriendEmailRequiredValidator protected_oe property

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

FriendNameRequiredValidator protected_oe property

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

FriendNameTextBox protected_oe property

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

FriendsEmailTextBox protected_oe property

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

InvisibleCaptcha protected_oe property

InvisibleCaptcha control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Web.UI.WebControls.DnnCaptcha InvisibleCaptcha
return global::DotNetNuke.Web.UI.WebControls.DnnCaptcha

MessageRow protected_oe property

MessageRow control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl MessageRow
return global::System.Web.UI.HtmlControls.HtmlGenericControl

MessageTextBox protected_oe property

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

ModalAnchorPanel protected_oe property

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

ModuleWrap protected_oe property

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

SenderEmailPatternValidator protected_oe property

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

SenderEmailRequiredValidator protected_oe property

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

SenderEmailTextBox protected_oe property

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

SenderNameRequiredValidator protected_oe property

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

SenderNameTextBox protected_oe property

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

StandardCaptcha protected_oe property

StandardCaptcha control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Web.UI.WebControls.DnnCaptcha StandardCaptcha
return global::DotNetNuke.Web.UI.WebControls.DnnCaptcha

SubmitButton protected_oe property

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

SuccessPanel protected_oe property

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

TimedCaptcha protected_oe property

TimedCaptcha control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Web.UI.WebControls.DnnCaptcha TimedCaptcha
return global::DotNetNuke.Web.UI.WebControls.DnnCaptcha