C# Класс Engage.Dnn.TellAFriend.ViewTellAFriend

The ViewTellAFriend class displays the content
Наследование: ModuleBase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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

Свойство Тип Описание
AddCssFile void
GetCurrentQueryString string[]
GetCurrentUrl string
LoadSettings void
Page_Load void
PopulateUserInfo void
SetEmailValidation void
SetValidationGroupOnChildControls void
SetupCaptchas void
SubmitButton_Click void

Защищенные методы

Метод Описание
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

ViewTellAFriend ( ) : System

Initializes a new instance of the ViewTellAFriend class.

Приватные методы

Метод Описание
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.

Описание методов

OnInit() защищенный Метод

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

ViewTellAFriend() защищенный Метод

Initializes a new instance of the ViewTellAFriend class.
protected ViewTellAFriend ( ) : System
Результат System

Описание свойств

ErrorPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

FormWrapPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

FriendEmailPatternValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.RegularExpressionValidator

FriendEmailRequiredValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

FriendNameRequiredValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

FriendNameTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

FriendsEmailTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

InvisibleCaptcha защищенное свойство

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
Результат global::DotNetNuke.Web.UI.WebControls.DnnCaptcha

MessageRow защищенное свойство

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
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

MessageTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

ModalAnchorPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

ModuleWrap защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

SenderEmailPatternValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.RegularExpressionValidator

SenderEmailRequiredValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

SenderEmailTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

SenderNameRequiredValidator защищенное свойство

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
Результат global::System.Web.UI.WebControls.RequiredFieldValidator

SenderNameTextBox защищенное свойство

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
Результат global::System.Web.UI.WebControls.TextBox

StandardCaptcha защищенное свойство

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
Результат global::DotNetNuke.Web.UI.WebControls.DnnCaptcha

SubmitButton защищенное свойство

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
Результат global::System.Web.UI.WebControls.Button

SuccessPanel защищенное свойство

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
Результат global::System.Web.UI.WebControls.Panel

TimedCaptcha защищенное свойство

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
Результат global::DotNetNuke.Web.UI.WebControls.DnnCaptcha