Back to Devexpress

ASPxDataViewBase.EmptyDataTemplate Property

aspnet-devexpress-dot-web-dot-aspxdataviewbase-0bcd151d.md

latest2.1 KB
Original Source

ASPxDataViewBase.EmptyDataTemplate Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(null)]
public virtual ITemplate EmptyDataTemplate { get; set; }
vb
<DefaultValue(Nothing)>
Public Overridable Property EmptyDataTemplate As ITemplate

Property Value

TypeDefaultDescription
ITemplatenull

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

|

Remarks

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

Note

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

EmptyDataStyle

EmptyDataText

DataView

ASPxDataViewBase Class

ASPxDataViewBase Members

DevExpress.Web Namespace