Skip to main content
Tab

GridViewCommandColumn.ShowRecoverButton Property

Specifies whether the Recover command button is displayed in the command column.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool ShowRecoverButton { get; set; }

Property Value

Type Default Description
Boolean true

true, if the button is visible; otherwise, false.

Remarks

Use the ShowRecoverButton property to specify whether the Recover button is visible in the command column. The button settings can be customized using the ASPxGridViewCommandButtonSettings.RecoverButton property.

In markup:

<dx:ASPxGridView ID="ASPxGridView1" runat="server" >
    <Columns>  
        <dx:GridViewCommandColumn ShowRecoverButton="True" />  
        ...
    </Columns>  
</dx:ASPxGridView>

In code:

using DevExpress.Web;
...
protected void Page_Load(object sender, EventArgs e)  {
    ASPxGridView grid1 = new ASPxGridView();
    grid1.ID = "grid1";
    Page.Form.Controls.Add(grid1);
    ...
    GridViewCommandColumn commandColumn = new GridViewCommandColumn();
    commandColumn.ShowRecoverButton = true;
    grid1.Columns.Add(commandColumn);
    ...
}
See Also