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

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

Private Properties

Property Type Description
GetCurrentPerson Person
GetNoteTypes List
RenderAddButton void
RenderNewNoteControl void

Public Methods

Method Description
ClearNotes ( ) : void

Clears the rows.

RebuildNotes ( bool setSelection ) : void

Rebuilds the notes.

RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.

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.

_lbShowMore_Click ( object sender, EventArgs e ) : void

Handles the Click event of the _lbShowMore control.

note_SaveButtonClick ( object sender, NoteEventArgs e ) : void

Handles the Click event of the lbAddFamilyMember control.

note_Updated ( object sender, NoteEventArgs e ) : void

Handles the Updated event of the note control.

Private Methods

Method Description
GetCurrentPerson ( ) : Person
GetNoteTypes ( string viewStateKey ) : List
RenderAddButton ( System.Web.UI.HtmlTextWriter writer ) : void
RenderNewNoteControl ( System.Web.UI.HtmlTextWriter writer ) : void

Method Details

ClearNotes() public method

Clears the rows.
public ClearNotes ( ) : void
return void

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

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

RebuildNotes() public method

Rebuilds the notes.
public RebuildNotes ( bool setSelection ) : void
setSelection bool if set to true [set selection].
return void

RenderControl() public method

Writes the T:System.Web.UI.WebControls.CompositeControl content to the specified T:System.Web.UI.HtmlTextWriter object, for display on the client.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter An that represents the output stream to render HTML content on the client.
return void

_lbShowMore_Click() protected method

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

note_SaveButtonClick() protected method

Handles the Click event of the lbAddFamilyMember control.
protected note_SaveButtonClick ( object sender, NoteEventArgs e ) : void
sender object The source of the event.
e NoteEventArgs The instance containing the event data.
return void

note_Updated() protected method

Handles the Updated event of the note control.
protected note_Updated ( object sender, NoteEventArgs e ) : void
sender object The source of the event.
e NoteEventArgs The instance containing the event data.
return void