Skip to main content

ASPxClientButtonEditBase.GetButton(number) Method

Returns a button by its index in the button collection.

Declaration

GetButton(
    number: number
): any

Parameters

Name Type Description
number number

The button’s index.

Returns

Type Description
any

A button.

Remarks

The GetButton method returns a button by its index in the Buttons collection.

<dx:ASPxButtonEdit ID="ASPxButtonEdit2" runat="server">
    <ClientSideEvents ButtonClick="OnButtonClick" />
    <Buttons>
        <dx:EditButton Text="AA">
        </dx:EditButton>
        <dx:EditButton Text="BB">
        </dx:EditButton>
    </Buttons>
</dx:ASPxButtonEdit>
See Also