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

Наследование: ItemPicker
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
FormatSelectedValue ( string selectedValue ) : string

Formats the selected value (node path) into a liquid merge field.

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.

SetValue ( string nodePath ) : void

Sets the value.

SetValues ( IEnumerable nodePaths ) : void

Sets the values.

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

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

SetValueOnSelect ( ) : void

Sets the value on select.

SetValuesOnSelect ( ) : void

Sets the values on select.

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

Метод Описание
GetPrefixedMergeFieldIds ( ) : List

Gets the prefixed merge field ids.

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

FormatSelectedValue() публичный статический Метод

Formats the selected value (node path) into a liquid merge field.
public static FormatSelectedValue ( string selectedValue ) : string
selectedValue string The selected value.
Результат string

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

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

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

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

Sets the value.
public SetValue ( string nodePath ) : void
nodePath string The node path.
Результат void

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

Sets the value on select.
protected SetValueOnSelect ( ) : void
Результат void

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

Sets the values.
public SetValues ( IEnumerable nodePaths ) : void
nodePaths IEnumerable The node paths.
Результат void

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

Sets the values on select.
protected SetValuesOnSelect ( ) : void
Результат void