Back to Devexpress

CardViewSettings.InitNewCard Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-cardviewsettings-ff6aa427.md

latest2.3 KB
Original Source

CardViewSettings.InitNewCard Property

Enables you to initialize added cards.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public ASPxDataInitNewRowEventHandler InitNewCard { get; set; }
vb
Public Property InitNewCard As ASPxDataInitNewRowEventHandler

Property Value

TypeDescription
ASPxDataInitNewRowEventHandler

A ASPxDataInitNewRowEventHandler delegate method allowing you to implement custom processing.

|

Remarks

The initialization of a new row added to the CardView occurs when:

Use the argument’s NewValues property to specify the values in the new card. Note that you can initialize values only for those columns that are visible within the Edit Form. To specify values of hidden columns, modify the properties of a model object passed to an action method specified via the MVCxCardViewEditingSettings.AddNewCardRouteValues property.

See Also

Declaring Server-Side Event Handlers

AddNewCardRouteValues

Initializing New Cards

Card View

CardViewSettings Class

CardViewSettings Members

DevExpress.Web.Mvc Namespace