aspnet-devexpress-dot-web-dot-aspxbutton-e589d334.md
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
[DefaultValue("")]
public string GroupName { get; set; }
<DefaultValue("")>
Public Property GroupName As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A String value specifying the name of the group to which the button belongs.
|
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