AdvantageAttributeControl..::..OnPreSave Method
Hook fired after ValidateSave(String%) passes and form values have been pulled
into Attributes via SaveDataToObject()()()(), but before the
consumer receives SendAdvantageAttributes. Return false to abort
the save (the dialog stays open); a non-empty message is surfaced
to the user.
Namespace:
AdvantageCMS.Core.Common.BaseClassesAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
protected virtual bool OnPreSave( AdvantageAttributeArgs e, out string message )
Parameters
- e
- Type: AdvantageCMS.Core.Common.BaseClasses..::..AdvantageAttributeArgs
The lifecycle snapshot for the save action.
- message
- Type: String%
Outbound message surfaced to the user when the hook returns false.

