New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Telerik.Web.UI.RadButton : Telerik.Web.UI.RadWebControl

Inheritance Hierarchy

Methods

clearCheckedRadios

Clears the checked state of the Radio buttons with the specified GroupName.

Parameters

uniqueGroupName String

The GroupName of the RadButton controls

Returns

None

click

Executes programmatic button click.

Parameters

raiseClicking? Boolean

Bool value indicating whether the

Returns

None

enableAfterSingleClick

Enables the button and restores the button's text, after it has been disabled by a single click.

Parameters

Returns

None

focus

Brings the focus to the RadButton control.

Parameters

Returns

None

get_autoPostBack

Gets a bool value indicating whether the RadButton control automatically posts back to the server when clicked.

Parameters

Returns

Boolean A bool value indicating whether the RadButton control automatically posts back to the server when clicked.

get_buttonType

Gets the type of the button.

Parameters

Returns

Telerik.Web.UI.RadButtonType

get_checked

Gets a bool value indicating whether the RadButton control is checked.

Parameters

Returns

Boolean A bool value

get_commandArgument

Gets an optional parameter passed to the Command event along with the associated CommandName.

Parameters

Returns

String An optional parameter passed to the Command event along with the associated CommandName.

get_commandName

Gets the command name associated with the RadButton control that is passed to the Command event.

Parameters

Returns

String The command name associated with the RadButton control that is passed to the Command event

get_cssClass

Gets the Cascading Style Sheet (CSS) class rendered by the RadButton control on the client.

Parameters

Returns

String The Cascading Style Sheet

get_disabledCssClass

Gets the CSS class applied when the control is disabled.

Parameters

Returns

String The CSS class applied when the control is disabled.

get_enabled

Returns a value, indicating whether the button control is enabled.

Parameters

Returns

Boolean The value of the Enabled property.

get_enableSplitButton

Specifies whether the "Split Button" functionality is Enabled/Disabled.

Parameters

Returns

Boolean

get_groupName

Gets the name of the group that the RadButton of ToggleType=Radio, belongs to.

Parameters

Returns

String The name of the group that the RadButton of ToggleType

get_height

Gets the height of the RadButton control.

Parameters

Returns

Number The height of the RadButton control.

get_hoveredCssClass

Gets the CSS class applied to the RadButton control when the mouse pointer is over the control.

Parameters

Returns

String The CSS class applied to the RadButton control when the mouse pointer is over the control.

get_navigateUrl

Gets the URL to link to when the RadButton control is clicked.

Parameters

Returns

String The URL to link to when the RadButton control is clicked.

get_pressedCssClass

Gets the CSS class applied to the RadButton control when the control is pressed.

Parameters

Returns

String The CSS class applied to the RadButton control when the control is pressed.

get_primary

Gets a bool value indicating whether the button control is primary.

Parameters

Returns

Boolean A bool value

get_primaryIconElement

Gets a reference to the HTML element that holds the primary icon.

Parameters

Returns

Element A reference to the HTML element that holds the primary icon.

get_readOnly

Returns a value, indicating whether the button control is in read-only mode.

Parameters

Returns

Boolean A value

get_secondaryIconElement

Gets a reference to the HTML element that holds the secondary icon.

Parameters

Returns

Element A reference to the HTML element that holds the secondary icon.

get_selectedToggleState

Gets the currently selected ToggleState of the RadButton control when used as a custom toggle button.

Parameters

Returns

Telerik.Web.UI.RadButtonToggleState The currently selected ToggleState of the RadButton control when used as a custom toggle button.

get_selectedToggleStateIndex

Gets the index of the currently selected ToggleState of the RadButton control, when used as a custom toggle button.

Parameters

Returns

Number The index of the currently selected ToggleState of the RadButton control

get_singleClick

Gets a bool value indicating whether the RadButton control will be immediately disabled after the user has clicks it. (i.e. enables/disables "Single Click" functionality)

Parameters

Returns

None

get_singleClickText

Gets the text displayed in the RadButton control after the button is being clicked and disabled. (i.e. the text used for the "Single Click" functionality)

Parameters

Returns

None

get_target

Gets the target window or frame in which to display the Web page content linked to when the RadButton control is clicked.

Parameters

Returns

String

get_text

Gets the text displayed in the RadButton control.

Parameters

Returns

String The text displayed in the RadButton control.

get_textElement

Gets a reference to the HTML element that holds the text of the RadButton control.

Parameters

Returns

Element A reference to the HTML element that holds the text of the RadButton control.

get_toggleStates

Gets a collection of RadButtonToggleState objects that belong to the RadButton control.

Parameters

Returns

Array A collection of RadButtonToggleState objects that belong to the RadButton control.

get_toggleType

Gets the toggle type of the RadButton when used as a toggle button

Parameters

Returns

Telerik.Web.UI.ButtonToggleType

get_toolTip

Gets the text displayed when the mouse pointer hovers over the RadButton control.

Parameters

Returns

String The text displayed when the mouse pointer hovers over the RadButton control.

get_uniqueID

Gets the unique, hierarchically qualified identifier for the RadButton control.

Parameters

Returns

String The unique

get_validationGroup

Gets the name of ValidationGroup that the button is assigned to.

Parameters

Returns

String the name of ValidationGroup that the button is assigned to.

get_value

Gets the Value property of the RadButton control.

Parameters

Returns

String The Value property of the RadButton control.

get_visible

Gets a bool value indicating whether the button is visible.

Parameters

Returns

None

get_width

Gets the width of the RadButton control.

Parameters

Returns

Number The width of the RadButton control.

IsImageButton

Gets a bool value indicating whether the button is an image button

Parameters

Returns

None

IsInputTypeSubmit

Gets a bool value indicating whether the button is a submit button

Parameters

Returns

None

set_autoPostBack

Sets or sets a bool value indicating whether the RadButton control automatically posts back to the server when clicked.

Parameters

value Boolean

A bool value indicating whether the RadButton control automatically posts back to the server when clicked.

Returns

None

set_checked

Sets a bool value indicating whether the RadButton control is checked.

Parameters

value Boolean

A bool value indicating whether the RadButton control is checked.

Returns

None

set_commandArgument

Sets an optional parameter passed to the Command event along with the associated CommandName.

Parameters

value String

An optional parameter passed to the Command event along with the associated CommandName.

Returns

None

set_commandName

Sets the command name associated with the RadButton control that is passed to the Command event.

Parameters

value String

The command name associated with the RadButton control that is passed to the Command event.

Returns

None

set_enabled

Sets whether the button is enabled.

Parameters

value Boolean

The new value for the Enabled property.

Returns

None

set_navigateUrl

Sets the URL to link to when the RadButton control is clicked.

Parameters

value String

The URL to link to when the RadButton control is clicked.

Returns

None

set_primary

Sets a bool value indicating whether the button control is primary.

Parameters

value Boolean

A bool value indicating whether the button control is primary.

Returns

None

set_readOnly

Sets a value, indicating whether the button control is in read-only mode.

Parameters

value Boolean

The new value for the ReadOnly property.

Returns

None

set_selectedToggleStateIndex

Sets the index of the currently selected ToggleState of the RadButton control, when used as a custom toggle button.

Parameters

value Number

The index of the currently selected ToggleState of the RadButton control

Returns

None

set_target

Sets the target window or frame in which to display the Web page content linked to when the RadButton control is clicked.

Parameters

value String

The target window or frame in which to display the Web page content linked to when the RadButton control is clicked.

Returns

None

set_text

Sets the text displayed in the RadButton control.

Parameters

value String

The text that will be displayed in the RadButton control.

Returns

None

set_toolTip

Sets the text displayed when the mouse pointer hovers over the RadButton control.

Parameters

value String

The text that will be displayed on hover.

Returns

None

set_validationGroup

Sets the validation group to which RadButton should be assigned.

Parameters

value String

The name of the validation group to which RadButton should be assigned.

Returns

None

set_value

Sets the Value property of the RadButton control.

Parameters

value String

The Value property of the RadButton control.

Returns

None

set_visible

Shows/hides the button.

Parameters

value Boolean

A bool value indicating whether the RadButton control is visible or not.

Returns

None

Events

toggleStateChanged

The toggleStateChanged event is fired after the SelectedToggleState and the SelectedToggleStateIndex properties of the RadButton are changed.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

args Telerik.Web.UI.ButtonToggleStateEventArgs

The event arguments.

toggleStateChanging

The toggleStateChanging event is fired before the SelectedToggleState and the SelectedToggleStateIndex properties of the RadButton are changed.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

args Telerik.Web.UI.ButtonToggleStateCancelEventArgs

The event arguments.

checkedChanged

The checkedChanged event is fired after the Checked property of the RadButton is changed, and it is subsequent to the checkedChanging event.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

args Telerik.Web.UI.ButtonCheckedEventArgs

The event arguments.

checkedChanging

The checkedChanging event is fired after the Checked property of the RadButton is changed.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

args Telerik.Web.UI.ButtonCheckedCancelEventArgs

The event arguments.

clicked

The clicked event is subsequent to the clicking event, and occurs when the RadButton control is clicked.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

args Telerik.Web.UI.ButtonEventArgs

The event arguments.

clicking

The clicking event occurs when the RadButton control is clicked, immediately after the mouse button is released.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

args Telerik.Web.UI.ButtonCancelEventArgs

The event arguments.

load

The load event occurs when the RadButton control loaded on the page.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

eventArgs Sys.EventArgs

Empty event argument.

mouseOut

The mouseOut event is fired when the user moves the mouse pointer over the control.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

args Telerik.Web.UI.ButtonEventArgs

The event arguments.

mouseOver

The mouseOver event is fired when the user moves the mouse pointer over the control.

Event Data

sender Telerik.Web.UI.RadButton

The instance of the RadButton raised the event.

args Telerik.Web.UI.ButtonEventArgs

The event arguments.

In this article