AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageAttributeControl..::..ValidateSave Method

Validates the data before saving. Override to add custom validation logic.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public virtual bool ValidateSave(
	out string message
)

Parameters

message
Type: String%
The validation error message, if validation fails.

Return Value

true if the data is valid and can be saved; false otherwise.