AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageAttributeControl..::..OnPostCancel Method

Hook fired after Cancel()()()() runs but before the dialog closes. Returning false does NOT prevent the close; a non-empty message is surfaced.

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

Syntax


protected virtual bool OnPostCancel(
	AdvantageAttributeArgs e,
	out string message
)

Parameters

e
Type: AdvantageCMS.Core.Common.BaseClasses..::..AdvantageAttributeArgs
The lifecycle snapshot for the cancel action.
message
Type: String%
Outbound message surfaced to the user.

Return Value

true when post-cancel processing succeeded; false otherwise.