C# Класс Rock.Web.UI.Controls.NoteContainer

Наследование: System.Web.UI.WebControls.CompositeControl, INamingContainer
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetCurrentPerson Person
GetNoteTypes List
RenderAddButton void
RenderNewNoteControl void

Открытые методы

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

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

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

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

Метод Описание
GetCurrentPerson ( ) : Person
GetNoteTypes ( string viewStateKey ) : List
RenderAddButton ( System.Web.UI.HtmlTextWriter writer ) : void
RenderNewNoteControl ( System.Web.UI.HtmlTextWriter writer ) : void

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

ClearNotes() публичный Метод

Clears the rows.
public ClearNotes ( ) : void
Результат void

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

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
Результат void

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

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

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

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Результат void

RebuildNotes() публичный Метод

Rebuilds the notes.
public RebuildNotes ( bool setSelection ) : void
setSelection bool if set to true [set selection].
Результат void

RenderControl() публичный Метод

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.
Результат void

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

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.
Результат void

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

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.
Результат void

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

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.
Результат void