ASPxCardView Class
A server ASPxCardView control.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v19.1.dll
Declaration
Related API Members
The following members return ASPxCardView objects:
Remarks
The ASPxCardView is a data bound control designed to edit tabular information, representing it in cards.
You can see a list of its main features in the Main Features topic.
Columns
The ASPxCardView control stores its columns within the ASPxCardView.Columns collection. Data columns can be automatically created for each field in the data source when the ASPxCardView is rendered, or created manually. This is controlled by the ASPxCardView.AutoGenerateColumns property.
By default, this property is set to true. This forces the ASPxCardView to render each field from the data source as a data column. The order of columns is the same as the order of fields in the data source. To manually control which columns are to appear in the ASPxCardView, set the ASPxCardView.AutoGenerateColumns property to false. In this case, you should manually add data columns to the ASPxCardView.Columns collection.
Client-Side API
The ASPxCardView control provides you with a comprehensive client-side functionality implemented using JavaScript code.
- Client Object - The control’s client-side equivalent is represented by the ASPxClientCardView object.
- Accessing Client Object - On the client side, the client object can be accessed directly by the name specified via the ASPxGridBase.ClientInstanceName property.
- Client Events - The available client events can be accessed by using the ASPxCardView.ClientSideEvents property.
The client-side API is always available for this control.