Class ActionCommandButton
ActionCommandButton provides a button for a single action.
Inherited Members
Namespace: DotNetNuke.UI.Containers
Assembly: DotNetNuke.dll
Syntax
public class ActionCommandButton : CommandButton, IActionControl
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.
Properties
| Improve this Doc View SourceActionManager
Gets the ActionManager instance for this Action control.
Declaration
public ActionManager ActionManager { get; }
Property Value
Type | Description |
---|---|
ActionManager | An ActionManager object. |
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.
ModuleAction
Gets or sets the ModuleAction for this Action control.
Declaration
public ModuleAction ModuleAction { get; set; }
Property Value
Type | Description |
---|---|
ModuleAction | A ModuleAction object. |
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.
ModuleControl
Gets or sets the ModuleControl instance for this Action control.
Declaration
public IModuleControl ModuleControl { get; set; }
Property Value
Type | Description |
---|---|
IModuleControl | An IModuleControl object. |
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.
Methods
| Improve this Doc View SourceCreateChildControls()
CreateChildControls builds the control tree.
Declaration
protected override void CreateChildControls()
Overrides
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.
OnAction(ActionEventArgs)
OnAction raises the Action Event.
Declaration
protected virtual void OnAction(ActionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ActionEventArgs | e |
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.
OnButtonClick(EventArgs)
OnButtonClick runs when the underlying CommandButton is clicked.
Declaration
protected override void OnButtonClick(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Overrides
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.
OnPreRender(EventArgs)
OnPreRender runs when just before the Render phase of the Page Lifecycle.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Overrides
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.
Events
| Improve this Doc View SourceAction
The eventhandler for the action.
Declaration
public event ActionEventHandler Action
Event Type
Type | Description |
---|---|
ActionEventHandler |
Remarks
ActionBase inherits from CommandButton, and implements the IActionControl Interface.