Show / Hide Table of Contents

Class CommandButton

Inheritance
object
Control
WebControl
CommandButton
ActionCommandButton
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
INamingContainer
Inherited Members
WebControl.AddAttributesToRender(HtmlTextWriter)
WebControl.ApplyStyle(Style)
WebControl.CopyBaseAttributes(WebControl)
WebControl.CreateControlStyle()
WebControl.LoadViewState(object)
WebControl.TrackViewState()
WebControl.MergeStyle(Style)
WebControl.Render(HtmlTextWriter)
WebControl.RenderBeginTag(HtmlTextWriter)
WebControl.RenderEndTag(HtmlTextWriter)
WebControl.RenderContents(HtmlTextWriter)
WebControl.SaveViewState()
WebControl.AccessKey
WebControl.Attributes
WebControl.BackColor
WebControl.BorderColor
WebControl.BorderWidth
WebControl.BorderStyle
WebControl.ControlStyle
WebControl.ControlStyleCreated
WebControl.CssClass
WebControl.DisabledCssClass
WebControl.Style
WebControl.Enabled
WebControl.EnableTheming
WebControl.Font
WebControl.ForeColor
WebControl.HasAttributes
WebControl.Height
WebControl.IsEnabled
WebControl.SupportsDisabledAttribute
WebControl.SkinID
WebControl.TabIndex
WebControl.TagKey
WebControl.TagName
WebControl.ToolTip
WebControl.Width
Control.ResolveAdapter()
Control.HasEvents()
Control.GetRouteUrl(object)
Control.GetRouteUrl(string, object)
Control.GetRouteUrl(RouteValueDictionary)
Control.GetRouteUrl(string, RouteValueDictionary)
Control.GetUniqueIDRelativeTo(Control)
Control.ApplyStyleSheetSkin(Page)
Control.OnDataBinding(EventArgs)
Control.DataBind()
Control.DataBind(bool)
Control.DataBindChildren()
Control.AddParsedSubObject(object)
Control.EnsureID()
Control.OnInit(EventArgs)
Control.ClearChildState()
Control.ClearChildControlState()
Control.ClearChildViewState()
Control.ClearEffectiveClientIDMode()
Control.ClearCachedClientID()
Control.Focus()
Control.LoadControlState(object)
Control.MapPathSecure(string)
Control.OpenFile(string)
Control.OnLoad(EventArgs)
Control.BuildProfileTree(string, bool)
Control.SaveControlState()
Control.RenderChildren(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter, ControlAdapter)
Control.OnUnload(EventArgs)
Control.Dispose()
Control.RaiseBubbleEvent(object, EventArgs)
Control.OnBubbleEvent(object, EventArgs)
Control.AddedControl(Control, int)
Control.CreateControlCollection()
Control.ResolveUrl(string)
Control.ResolveClientUrl(string)
Control.FindControl(string)
Control.FindControl(string, int)
Control.GetDesignModeState()
Control.HasControls()
Control.IsLiteralContent()
Control.EnsureChildControls()
Control.RemovedControl(Control)
Control.SetDesignModeState(IDictionary)
Control.SetRenderMethodDelegate(RenderMethod)
Control.ClientIDMode
Control.ClientID
Control.ClientIDSeparator
Control.Context
Control.Adapter
Control.DesignMode
Control.Events
Control.ID
Control.IsChildControlStateCleared
Control.EnableViewState
Control.ViewStateMode
Control.IsViewStateEnabled
Control.NamingContainer
Control.IdSeparator
Control.LoadViewStateByID
Control.Page
Control.RenderingCompatibility
Control.TemplateControl
Control.Parent
Control.TemplateSourceDirectory
Control.AppRelativeTemplateSourceDirectory
Control.Site
Control.Visible
Control.UniqueID
Control.HasChildViewState
Control.Controls
Control.ValidateRequestMode
Control.ViewState
Control.ViewStateIgnoresCase
Control.ChildControlsCreated
Control.IsTrackingViewState
Control.Disposed
Control.DataBinding
Control.Init
Control.Load
Control.PreRender
Control.Unload
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class CommandButton : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, INamingContainer

Constructors

CommandButton()

Declaration
public CommandButton()

Properties

ButtonSeparator

Declaration
public string ButtonSeparator { get; set; }
Property Value
Type Description
string

CausesValidation

Declaration
public bool CausesValidation { get; set; }
Property Value
Type Description
bool

CommandArgument

Declaration
public string CommandArgument { get; set; }
Property Value
Type Description
string

CommandName

Declaration
public string CommandName { get; set; }
Property Value
Type Description
string

DisplayIcon

Declaration
public bool DisplayIcon { get; set; }
Property Value
Type Description
bool

DisplayLink

Declaration
public bool DisplayLink { get; set; }
Property Value
Type Description
bool

IconKey

Declaration
public string IconKey { get; set; }
Property Value
Type Description
string

IconSize

Declaration
public string IconSize { get; set; }
Property Value
Type Description
string

IconStyle

Declaration
public string IconStyle { get; set; }
Property Value
Type Description
string

ImageUrl

Declaration
public string ImageUrl { get; set; }
Property Value
Type Description
string

LocalResourceFile

Declaration
public string LocalResourceFile { get; set; }
Property Value
Type Description
string

OnClick

Declaration
public string OnClick { get; set; }
Property Value
Type Description
string

OnClientClick

Declaration
public string OnClientClick { get; set; }
Property Value
Type Description
string

ResourceKey

Declaration
public string ResourceKey { get; set; }
Property Value
Type Description
string

Text

Declaration
public string Text { get; set; }
Property Value
Type Description
string

ToolTipKey

Declaration
public string ToolTipKey { get; set; }
Property Value
Type Description
string

ValidationGroup

Declaration
public string ValidationGroup { get; set; }
Property Value
Type Description
string

Methods

CreateChildControls()

Declaration
protected override void CreateChildControls()
Overrides
Control.CreateChildControls()

OnButtonClick(EventArgs)

Declaration
protected virtual void OnButtonClick(EventArgs e)
Parameters
Type Name Description
EventArgs e

OnCommand(CommandEventArgs)

Declaration
protected virtual void OnCommand(CommandEventArgs e)
Parameters
Type Name Description
CommandEventArgs e

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
Control.OnPreRender(EventArgs)

RaiseImageClick(object, ImageClickEventArgs)

Declaration
protected void RaiseImageClick(object sender, ImageClickEventArgs e)
Parameters
Type Name Description
object sender
ImageClickEventArgs e

RegisterForPostback()

Declaration
public void RegisterForPostback()

Events

Click

Declaration
public event EventHandler Click
Event Type
Type Description
EventHandler

Command

Declaration
public event CommandEventHandler Command
Event Type
Type Description
CommandEventHandler

Implements

IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
INamingContainer

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS