This documentation is archived and is not being maintained.

EntityTemplate.ItemTemplate Property

Gets or sets the custom content for the data item in a EntityTemplate control.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[TemplateContainerAttribute(typeof(INamingContainer))]
[BrowsableAttribute(false)]
public virtual ITemplate ItemTemplate { get; set; }
<asp:EntityTemplate>
	<ItemTemplate>ITemplate</ItemTemplate>
</asp:EntityTemplate>

Property Value

Type: System.Web.UI.ITemplate
The custom content for the data item in a EntityTemplate control.

The ASP.NET controls in the DynamicData\EntityTemplates folder of a Dynamic Data project contain markup that uses this property.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: