Class
RadButton

Represents the RadButton for ASP.NET AJAX control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadButton : ButtonBase

Inheritance: objectControlHtmlControlHtmlContainerControlButtonBaseRadButton

Inherited Members ButtonBase.ToggleCssClass(string)ButtonBase.ButtonTextButtonBase.EnabledButtonBase.VisibleButtonBase.AutoPostBackButtonBase.SingleClickButtonBase.SingleClickTextButtonBase.FocusedHtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadButton()

Initializes a new instance of the RadButton class.

Declaration

cs-api-definition
public RadButton()

RadButton(Element)

Initializes a new instance of the RadButton class.

Declaration

cs-api-definition
public RadButton(Element element)

Parameters

element

Element

Properties

ButtonGroup

Gets the RadButton Group name.

Declaration

cs-api-definition
public string ButtonGroup { get; }

Property Value

string

ButtonGroupUniqueName

Gets the RadButton Group unique name.

Declaration

cs-api-definition
public string ButtonGroupUniqueName { get; }

Property Value

string

ButtonToggleStateText

Gets or sets the RadButton Toggle State text value.

Declaration

cs-api-definition
public string ButtonToggleStateText { get; }

Property Value

string

ButtonToggleType

Gets the Button control toggle type - None, CheckBox, RadioButton, CustomToggleButton.

Declaration

cs-api-definition
public RadButtonControlToggleType ButtonToggleType { get; }

Property Value

RadButtonControlToggleType

ButtonType

Gets the Button control type - StandardButton, LinkButton, ToggleButton, SkinnedButton.

Declaration

cs-api-definition
public RadButtonControlType ButtonType { get; }

Property Value

RadButtonControlType

Checked

Gets or sets whether the Button is checked.

Declaration

cs-api-definition
public bool Checked { get; set; }

Property Value

bool

ClientId

Gets the client Id of the button control.

Declaration

cs-api-definition
public string ClientId { get; }

Property Value

string

ClientSideLocator

Gets the Client side locator.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

IsImageButton

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

Declaration

cs-api-definition
public bool IsImageButton { get; }

Property Value

bool

IsInputTypeSubmit

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

Declaration

cs-api-definition
public bool IsInputTypeSubmit { get; }

Property Value

bool

IsSplitButton

Specifies whether the Split Button functionality is Enabled/Disabled.

Declaration

cs-api-definition
public bool IsSplitButton { get; }

Property Value

bool

LocatorExpression

Gets the locator FindParam.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

NavigateUrl

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

Declaration

cs-api-definition
public string NavigateUrl { get; set; }

Property Value

string

PrimaryIconElement

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

Declaration

cs-api-definition
public HtmlSpan PrimaryIconElement { get; }

Property Value

HtmlSpan

ReadOnly

Gets or sets whether the button is in ReadOnly mode.

Declaration

cs-api-definition
public bool ReadOnly { get; set; }

Property Value

bool

SecondaryIconElement

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

Declaration

cs-api-definition
public HtmlSpan SecondaryIconElement { get; }

Property Value

HtmlSpan

SelectedToggleStateIndex

Returns the index of the selected toggle state.

Declaration

cs-api-definition
public int SelectedToggleStateIndex { get; set; }

Property Value

int

TextElement

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

Declaration

cs-api-definition
public HtmlSpan TextElement { get; }

Property Value

HtmlSpan

Methods

AssignElement(Element)

Assign element and initialize this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element.

Overrides HtmlContainerControl.AssignElement(Element)

ClearCheckedState(string)

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

Declaration

cs-api-definition
public void ClearCheckedState(string groupName)

Parameters

groupName

string

The group name that the buttons belong to.

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.