ASPxCardView.IsNewCardEditing Property

Indicates whether a new card is being edited.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public bool IsNewCardEditing { get; }
Public ReadOnly Property IsNewCardEditing As Boolean

Property Value

Type Description

true if a new card is being edited; otherwise, false.


The following example shows how to always display the card edit form. To implement this feature, add the code below to the form page.

View Example

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="DevExpress.Xpo.v15.1, Version=, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Xpo" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v15.1, Version=, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="">
<head runat="server">
    <title>ASPxCardView - How to add a new card when the edit form is always visible</title>
    <form id="form1" runat="server">
        <dx:ASPxCardView ID="ASPxCardView1" runat="server" AutoGenerate