C# Class Rock.Web.UI.Controls.NoteControl

Inheritance: System.Web.UI.WebControls.CompositeControl
Show file Open project: NewSpring/Rock Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
NoteControl ( ) : System

Initializes a new instance of the NoteControl class.

RenderControl ( System.Web.UI.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.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

lbDeleteNote_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbDeleteNote control.

lbSaveNote_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSaveNote control.

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

NoteControl() public method

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

OnInit() protected method

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

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
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 ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
return void

lbDeleteNote_Click() protected method

Handles the Click event of the lbDeleteNote control.
protected lbDeleteNote_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

lbSaveNote_Click() protected method

Handles the Click event of the lbSaveNote control.
protected lbSaveNote_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void