Skip to main content

ASPxDataViewBase.EmptyDataTemplate Property

Gets or sets a template used for displaying the content of the empty data area.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public virtual ITemplate EmptyDataTemplate { get; set; }

Property Value

Type Default Description
ITemplate null

An object that implements the ITemplate interface, and contains the template to represent the empty data area.


Use the EmptyDataTemplate property to define the content for the empty data area of the control.


Once a template defined via the EmptyDataTemplate property is created within a control, it is instantiated within a container object of the DataViewTemplateContainer type. This container object exposes a set of specific properties to which the template’s child controls can be bound.

See Also