Create a validator that uses a custom method to parse information into the property.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
[ObsoleteAttribute("CreateCustomParseValidator is no longer used. All rendering logic is moved to EPiServer.Web.PropertyControls.", 
	true)]
public Control CreateCustomParseValidator(
	ServerValidateEventHandler parseHandler
)

Parameters

parseHandler
Type: System.Web.UI.WebControls..::.ServerValidateEventHandler
The method to be called on parse/validation.

Return Value

A CustomValidator.

Remarks

Very useful for web controls that cannot be directly validated, such as tables that contains multiple input fields with data for the property value.

See Also