Adds an error validator to the control collection and to the Page.Validators collection.
Namespace:
EPiServer.Web.PropertyControlsAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
C# |
---|
public virtual void AddErrorValidator( string errorMessage ) |
Parameters
- errorMessage
- Type: System..::.String
The error message.
Remarks
This method is used to indicate that invalid data has been entered by the user.