aspnetmvc-114559-components-card-view.md
The DevExpress ASP.NET MVC CardView is a data bound server extension with an advanced client-side API. CardView is designed to edit tabular information represented in cards.
The CardView is realized by the CardViewExtension class. Its instance can be accessed using the ExtensionsFactory.CardView helper method, which is used to add a CardView extension to a view. This method’s parameter provides access to the CardView ‘s settings implemented by the CardViewSettings class, allowing you to fully customize the extension.
The CardView ‘s client counterpart is represented by the MVCxClientCardView object.
Note
Before you start, make sure your project is prepared for DevExpress ASP.NET MVC Extensions. See this topic to learn how to prepare your project: Integration into an ASP.NET MVC Project.
Model
View
Controller
The code result is demonstrated in the image below.
In addition to the comprehensive server-side object model, the MVC CardView extension offers an advanced client-side API.
The CardView ‘s client counterpart is represented by the MVCxClientCardView object. An extension client object can be accessed on the client using the extension name defined using the SettingsBase.Name property. The CardView ‘s client events can be accessed using the CardViewSettings.ClientSideEvents property.
Individual CardView columns are exposed on the client side as JS objects of the ASPxClientCardViewColumn class.