Back to Devexpress

ASPxButton.GroupName Property

aspnet-devexpress-dot-web-dot-aspxbutton-e589d334.md

latest1.9 KB
Original Source

ASPxButton.GroupName Property

Gets or sets the name of the group to which the button belongs.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string GroupName { get; set; }
vb
<DefaultValue("")>
Public Property GroupName As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value specifying the name of the group to which the button belongs.

|

Remarks

Use the GroupName property to specify a grouping of buttons to create a mutually exclusive set of controls. You can use the GroupName property when only one selection is possible from a list of available options.

When this property is set, only one button in the specified group can be checked at a time. A click on a checked button doesn’t raise the Click event. A button’s checked state is controlled by its ASPxButton.Checked property or the client ASPxClientButton.SetChecked method.

See Also

SetChecked(value)

GetChecked

Checked

ASPxButton Class

ASPxButton Members

DevExpress.Web Namespace