Skip to main content
A newer version of this page is available. .

ASPxClientButton Members

A client-side equivalent of the ASPxButton control.

Properties

Name Description
name Gets the unique, hierarchically-qualified identifier for the control. Inherited from ASPxClientControlBase.

Methods

Name Description
AdjustControl Modifies the control’s size against the control’s container. Inherited from ASPxClientControl.
AdjustControls static Modifies the controls size within the specified container. Inherited from ASPxClientControl.
Cast(obj) static Converts the specified object to the ASPxClientButton type.
DoClick Simulates a mouse click action on the button control.
Focus Sets input focus to the button.
GetChecked Returns a value indicating whether the button is checked.
GetClientVisible Obsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetControlCollection static Returns a collection of client web control objects. Inherited from ASPxClientControl.
GetEnabled Returns a value indicating whether the button is enabled.
GetHeight Returns the control’s height. Inherited from ASPxClientControl.
GetImageUrl Returns the URL pointing to the image displayed within the button.
GetMainElement Returns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase.
GetParentControl Returns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase.
GetText Returns the text displayed within the button.
GetVisible Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetWidth Returns the control’s width. Inherited from ASPxClientControl.
InCallback Returns a value that determines whether a callback request sent by a web control is being currently processed on the server side. Inherited from ASPxClientControlBase.
SendMessageToAssistiveTechnology(message) Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user. Inherited from ASPxClientControlBase.
SetChecked(value) Sets a value that specifies the button’s checked status.
SetClientVisible(visible) Obsolete. Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetEnabled(value) Sets a value specifying whether the button is enabled.
SetHeight(height)

Specifies the control’s height. Note that this method is not in effect for some controls.

Inherited from ASPxClientControl.
SetImageUrl(value) Sets the URL pointing to the image displayed within the button.
SetText(value) Sets the text to be displayed within the button.
SetVisible(visible) Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetWidth(width) Specifies the control’s width in pixels. Inherited from ASPxClientControl.

Events

Name Description
CheckedChanged Occurs on the client side when the button’s checked state is changed.
Click Occurs on the client side after a button is clicked.
GotFocus Fires on the client side when the button receives input focus.
Init Occurs on the client side after the control has been initialized. Inherited from ASPxClientControlBase.
LostFocus Fires on the client side when the button loses input focus.
See Also