• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ActionCommandButton

ActionCommandButton provides a button for a single action.

Inheritance
System.Object
CommandButton
ActionCommandButton
Implements
INamingContainer
IActionControl
Inherited Members
CommandButton.Click
CommandButton.Command
CommandButton.ButtonSeparator
CommandButton.CausesValidation
CommandButton.CommandArgument
CommandButton.CommandName
CommandButton.DisplayLink
CommandButton.DisplayIcon
CommandButton.ImageUrl
CommandButton.IconKey
CommandButton.IconSize
CommandButton.IconStyle
CommandButton.OnClick
CommandButton.OnClientClick
CommandButton.ResourceKey
CommandButton.Text
CommandButton.ToolTipKey
CommandButton.ValidationGroup
CommandButton.LocalResourceFile
CommandButton.RegisterForPostback()
CommandButton.OnCommand(CommandEventArgs)
CommandButton.RaiseImageClick(Object, ImageClickEventArgs)
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 Source

ActionManager

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

CreateChildControls()

CreateChildControls builds the control tree.

Declaration
protected override void CreateChildControls()
Overrides
CommandButton.CreateChildControls()
Remarks

ActionBase inherits from CommandButton, and implements the IActionControl Interface.

| Improve this Doc View Source

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.

| Improve this Doc View Source

OnButtonClick(EventArgs)

OnButtonClick runs when the underlying CommandButton is clicked.

Declaration
protected override void OnButtonClick(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
CommandButton.OnButtonClick(EventArgs)
Remarks

ActionBase inherits from CommandButton, and implements the IActionControl Interface.

| Improve this Doc View Source

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
CommandButton.OnPreRender(EventArgs)
Remarks

ActionBase inherits from CommandButton, and implements the IActionControl Interface.

Events

| Improve this Doc View Source

Action

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.

Implements

INamingContainer
IActionControl

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS