Class StaticValidator
Validator used to add error messages that is validated through server side code.
Inheritance
System.Object
StaticValidator
Namespace: EPiServer.XForms.WebControls
Assembly: EPiServer.XForms.dll
Version: 10.10.4Syntax
public class StaticValidator : BaseValidator
Constructors
StaticValidator()
Declaration
public StaticValidator()
StaticValidator(String)
Initializes a new instance of the Static
Declaration
public StaticValidator(string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorMessage | The error message. |
StaticValidator(String, String)
Initializes a new instance of the Static
Declaration
public StaticValidator(string errorMessage, string validationGroup)
Parameters
Type | Name | Description |
---|---|---|
System. |
errorMessage | The error message. |
System. |
validationGroup | The validation group. |
Methods
ControlPropertiesValid()
Declaration
protected override bool ControlPropertiesValid()
Returns
Type | Description |
---|---|
System. |
EvaluateIsValid()
Declaration
protected override bool EvaluateIsValid()
Returns
Type | Description |
---|---|
System. |
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter output)
Parameters
Type | Name | Description |
---|---|---|
System. |
output |