Share via


ViewEmpty Element (View)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Contains the string to be displayed in a view when no items are present.

<ViewEmpty>
</ViewEmpty>

Attributes

Attribute

Description

None

N/A

Child Elements

Numerous

Parent Elements

View, ViewStyle

Occurrences

Minimum: 0

Maximum: 1

Example

If the view is empty, the following example returns a message indicating that the view has no items.

<ViewEmpty><![CDATA[<I>There are no items in this 
   view.</I>]]></ViewEmpty>

See Also

Reference

ViewBidiHeader Element (View)

ViewBody Element (View)

ViewFields Element (View)

ViewFooter Element (View)

ViewHeader Element (View)