C# Class Rock.Field.Types.UrlLinkFieldType

Inheritance: FieldType
Show file Open project: NewSpring/Rock

Public Methods

Method Description
EditControl ( ConfigurationValue>.System configurationValues, string id ) : System.Web.UI.Control

Creates the control(s) necessary for prompting user for a new value

FormatValue ( System parentControl, string value, ConfigurationValue>.System configurationValues, bool condensed ) : string

Returns the field's current value(s)

IsValid ( string value, bool required, string &message ) : bool

Tests the value to ensure that it is a valid value. If not, message will indicate why

Method Details

EditControl() public method

Creates the control(s) necessary for prompting user for a new value
public EditControl ( ConfigurationValue>.System configurationValues, string id ) : System.Web.UI.Control
configurationValues ConfigurationValue>.System The configuration values.
id string
return System.Web.UI.Control

FormatValue() public method

Returns the field's current value(s)
public FormatValue ( System parentControl, string value, ConfigurationValue>.System configurationValues, bool condensed ) : string
parentControl System The parent control.
value string Information about the value
configurationValues ConfigurationValue>.System
condensed bool Flag indicating if the value should be condensed (i.e. for use in a grid column)
return string

IsValid() public method

Tests the value to ensure that it is a valid value. If not, message will indicate why
public IsValid ( string value, bool required, string &message ) : bool
value string
required bool
message string
return bool