Back to Devexpress

ASPxTitleIndex.NoDataText Property

aspnet-devexpress-dot-web-dot-aspxtitleindex-7b18cf9a.md

latest2.3 KB
Original Source

ASPxTitleIndex.NoDataText Property

SECURITY-RELATED CONSIDERATIONS

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 HttpUtility.HtmlEncode 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 ASPxTitleIndex when no data item meets the filter criteria applied.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("No data for this filter criteria")]
public string NoDataText { get; set; }
vb
<DefaultValue("No data for this filter criteria")>
Public Property NoDataText As String

Property Value

TypeDefaultDescription
String"No data for this filter criteria"

A string value specifying the required text to be displayed within the control.

|

Remarks

Use the NoDataText property to specify the text that should be displayed within the ASPxTitleIndex control instead of its data items when no data item meets the filter criteria applied by using the filter box editor.

See Also

Title Index

ASPxTitleIndex Class

ASPxTitleIndex Members

DevExpress.Web Namespace