Skip to main content

DataViewSettingsBase.EmptyDataText Property

SECURITY NOTE

Setting this property to values from an untrusted source may introduce security-related issues, since the property value is not encoded and is rendered as HTML markup. Call the Html.Encode method to encode the value.

Review the following help topic to better protect websites from cross-site scripting (XSS) attacks: HTML Encoding.

Gets or sets the text displayed within the DataView’s empty data area.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string EmptyDataText { get; set; }

Property Value

Type Description
String

A string value that specifies the text.

Remarks

Use the EmptyDataText property to manipulate the text within the DataView‘s empty data area.

See Also