Table of Contents

Class Button

Namespace
InSite.Common.Web.UI
Assembly
InSite.UI.dll
public class Button : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IPostBackEventHandler, IAttributeAccessor, IButton, IButtonControl, IHasConfirmText, IHasToolTip, IHasText
Inheritance
Button
Implements
Derived
Inherited Members

Constructors

Button()

public Button()

Properties

Attributes

public AttributeCollection Attributes { get; }

Property Value

AttributeCollection

ButtonStyle

public ButtonStyle ButtonStyle { get; set; }

Property Value

ButtonStyle

CausesValidation

public virtual bool CausesValidation { get; set; }

Property Value

bool

CommandArgument

public string CommandArgument { get; set; }

Property Value

string

CommandName

public string CommandName { get; set; }

Property Value

string

ConfirmText

public string ConfirmText { get; set; }

Property Value

string

CssClass

public string CssClass { get; set; }

Property Value

string

DisableAfterClick

public bool DisableAfterClick { get; set; }

Property Value

bool

EnableAfter

public int? EnableAfter { get; set; }

Property Value

int?

Enabled

public bool Enabled { get; set; }

Property Value

bool

GroupName

public string GroupName { get; set; }

Property Value

string

HasAttributes

public bool HasAttributes { get; }

Property Value

bool

Icon

public string Icon { get; set; }

Property Value

string

IconPosition

public IconPositionType IconPosition { get; set; }

Property Value

IconPositionType

NavigateTarget

public string NavigateTarget { get; set; }

Property Value

string

NavigateUrl

public string NavigateUrl { get; set; }

Property Value

string

OnClientClick

public string OnClientClick { get; set; }

Property Value

string

PostBackEnabled

public bool PostBackEnabled { get; set; }

Property Value

bool

Size

public ButtonSize Size { get; set; }

Property Value

ButtonSize

Style

public CssStyleCollection Style { get; }

Property Value

CssStyleCollection

Text

public string Text { get; set; }

Property Value

string

ToolTip

public string ToolTip { get; set; }

Property Value

string

ValidationGroup

public string ValidationGroup { get; set; }

Property Value

string

Methods

LoadViewState(object)

protected override void LoadViewState(object savedState)

Parameters

savedState object

RenderControl(HtmlTextWriter)

public override void RenderControl(HtmlTextWriter writer)

Parameters

writer HtmlTextWriter

SaveViewState()

protected override object SaveViewState()

Returns

object

TrackViewState()

protected override void TrackViewState()

Events

Click

public event EventHandler Click

Event Type

EventHandler

Command

public event CommandEventHandler Command

Event Type

CommandEventHandler