C# Class Engage.Dnn.TellAFriend.Settings

Show file Open project: EngageSoftware/Engage-Tell-a-Friend Class Usage Examples

Protected Properties

Property Type Description
BlindCarbonCopyTextBox global::System.Web.UI.WebControls.TextBox
BlindCarbonCopyValidator global::System.Web.UI.WebControls.RegularExpressionValidator
BodyRequiredValidator global::System.Web.UI.WebControls.RequiredFieldValidator
BodyTextBox global::System.Web.UI.WebControls.TextBox
CarbonCopyTextBox global::System.Web.UI.WebControls.TextBox
CarbonCopyValidator global::System.Web.UI.WebControls.RegularExpressionValidator
FromTextBox global::System.Web.UI.WebControls.TextBox
FromValidator global::System.Web.UI.WebControls.RegularExpressionValidator
InvisibleCaptchaCheckBox global::System.Web.UI.WebControls.CheckBox
RestoreButton global::System.Web.UI.WebControls.Button
ShowMessageCheckBox global::System.Web.UI.WebControls.CheckBox
ShowModalCheckBox global::System.Web.UI.WebControls.CheckBox
SiteUrlTextBox global::System.Web.UI.WebControls.TextBox
StandardCaptchaCheckBox global::System.Web.UI.WebControls.CheckBox
SubjectRequiredValidator global::System.Web.UI.WebControls.RequiredFieldValidator
SubjectTextBox global::System.Web.UI.WebControls.TextBox
TimedCaptchaCheckBox global::System.Web.UI.WebControls.CheckBox

Public Methods

Method Description
LoadSettings ( ) : void

LoadSettings loads the settings from the Database and displays them

UpdateSettings ( ) : void

UpdateSettings saves the modified settings to the Database

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

Private Methods

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

Handles the Click event of the RestoreButton control.

SetEmailValidation ( ) : void

Sets the validator expression for email fields.

Method Details

LoadSettings() public method

LoadSettings loads the settings from the Database and displays them
public LoadSettings ( ) : void
return void

OnInit() protected method

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

UpdateSettings() public method

UpdateSettings saves the modified settings to the Database
public UpdateSettings ( ) : void
return void

Property Details

BlindCarbonCopyTextBox protected property

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

BlindCarbonCopyValidator protected property

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

BodyRequiredValidator protected property

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

BodyTextBox protected property

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

CarbonCopyTextBox protected property

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

CarbonCopyValidator protected property

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

FromTextBox protected property

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

FromValidator protected property

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

InvisibleCaptchaCheckBox protected property

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

RestoreButton protected property

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

ShowMessageCheckBox protected property

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

ShowModalCheckBox protected property

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

SiteUrlTextBox protected property

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

StandardCaptchaCheckBox protected property

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

SubjectRequiredValidator protected property

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

SubjectTextBox protected property

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

TimedCaptchaCheckBox protected property

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