When overridden, provides validation of an item.

Namespace:  EPiServer.Web.WebControls
Assembly:  EPiServer (in EPiServer.dll) Version: 6.0.530.0

Syntax

C#
protected virtual bool IsValid(
	TObject item,
	ref string message
)

Parameters

item
Type: TObject
the item to validate.
message
Type: System..::.String %
set this parameter to provide a information about why validation failed.

Return Value

true when the item is valid, otherwise false.

See Also