C# Class Engage.Dnn.TellAFriend.ViewTellAFriend

The ViewTellAFriend class displays the content
Inheritance: ModuleBase
Afficher le fichier Open project: EngageSoftware/Engage-Tell-a-Friend

Protected Properties

Свойство 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

Свойство Type Description
AddCssFile void
GetCurrentQueryString string[]
GetCurrentUrl string
LoadSettings void
Page_Load void
PopulateUserInfo void
SetEmailValidation void
SetValidationGroupOnChildControls void
SetupCaptchas void
SubmitButton_Click void

Méthodes protégées

Méthode Description
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

ViewTellAFriend ( ) : System

Initializes a new instance of the ViewTellAFriend class.

Private Methods

Méthode 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 méthode

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

ViewTellAFriend() protected méthode

Initializes a new instance of the ViewTellAFriend class.
protected ViewTellAFriend ( ) : System
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat 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
Résultat global::DotNetNuke.Web.UI.WebControls.DnnCaptcha