C# Class Rock.Web.UI.Controls.Communication.Email

Email Communication Medium control
Inheritance: MediumControl
Exibir arquivo Open project: NewSpring/Rock

Public Methods

Method Description
Email ( ) : System

Initializes a new instance of the Email class.

Email ( bool useSimpleMode ) : System

Initializes a new instance of the Email class.

InitializeFromSender ( Person sender ) : void

On new communication, initializes controls from sender values

OnCommunicationSave ( RockContext rockContext ) : void

Called when [communication save].

RenderControl ( HtmlTextWriter writer ) : void

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

Protected Methods

Method Description
CreateChildControls ( ) : void

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.

fuAttachments_FileUploaded ( object sender, EventArgs e ) : void

Handles the FileUploaded event of the fuAttachments control.

Private Methods

Method Description
RegisterClientScript ( ) : void

Registers the client script.

Method Details

CreateChildControls() protected method

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
return void

Email() public method

Initializes a new instance of the Email class.
public Email ( ) : System
return System

Email() public method

Initializes a new instance of the Email class.
public Email ( bool useSimpleMode ) : System
useSimpleMode bool if set to true [use simple mode].
return System

InitializeFromSender() public method

On new communication, initializes controls from sender values
public InitializeFromSender ( Person sender ) : void
sender Person The sender.
return void

OnCommunicationSave() public method

Called when [communication save].
public OnCommunicationSave ( RockContext rockContext ) : void
rockContext RockContext The rock context.
return void

RenderControl() public method

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( HtmlTextWriter writer ) : void
writer HtmlTextWriter The object that receives the control content.
return void

fuAttachments_FileUploaded() protected method

Handles the FileUploaded event of the fuAttachments control.
protected fuAttachments_FileUploaded ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void