ToolControlBase..::..ProcessAction Method
Processes the specified CMS action (e.g., Save, Publish, Delete) for the current business object.
Namespace:
AdvantageCMS.Core.Admin.BaseClassesAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public bool ProcessAction( eCMSActions toolAction, ActionArgs e )
Parameters
- toolAction
- Type: AdvantageCMS.Core.Admin.Enums..::..eCMSActions
The CMS action to process.
- e
- Type: AdvantageCMS.Core.Admin.Event..::..ActionArgs
The action arguments providing context (user, SQL, domain, language).
Return Value
true if the action was processed successfully; false otherwise.Examples
C#
// Do NOT override ProcessAction. Instead, override LoadDataFromObject and SaveDataToObject: protected override void LoadDataFromObject(ActionArgs e) { txtName.Text = MyObject.Name; } protected override void SaveDataToObject() { MyObject.Name = txtName.Text; }

