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

Inheritance: ItemPicker
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
GetPrefixedMergeFieldIds ( ) : List

Gets the prefixed merge field ids.

Method Details

FormatSelectedValue() public static méthode

Formats the selected value (node path) into a liquid merge field.
public static FormatSelectedValue ( string selectedValue ) : string
selectedValue string The selected value.
Résultat string

OnInit() protected méthode

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

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

RenderControl() public méthode

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.
Résultat void

SetValue() public méthode

Sets the value.
public SetValue ( string nodePath ) : void
nodePath string The node path.
Résultat void

SetValueOnSelect() protected méthode

Sets the value on select.
protected SetValueOnSelect ( ) : void
Résultat void

SetValues() public méthode

Sets the values.
public SetValues ( IEnumerable nodePaths ) : void
nodePaths IEnumerable The node paths.
Résultat void

SetValuesOnSelect() protected méthode

Sets the values on select.
protected SetValuesOnSelect ( ) : void
Résultat void