Share via


Repeater.EmptyDataTemplate Property

 

Gets or sets the repeater template with empty data.

Namespace:   Microsoft.Web.Mvc.Controls
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

[TemplateInstanceAttribute(TemplateInstance.Single)]
[BrowsableAttribute(false)]
[TemplateContainerAttribute(typeof(RepeaterItem))]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ITemplate EmptyDataTemplate { get; set; }
public:
[TemplateInstanceAttribute(TemplateInstance::Single)]
[BrowsableAttribute(false)]
[TemplateContainerAttribute((RepeaterItem^::typeid))]
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
property ITemplate^ EmptyDataTemplate {
    ITemplate^ get();
    void set(ITemplate^ value);
}
[<TemplateInstanceAttribute(TemplateInstance.Single)>]
[<BrowsableAttribute(false)>]
[<TemplateContainerAttribute(typeof(RepeaterItem))>]
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member EmptyDataTemplate : ITemplate with get, set
<TemplateInstanceAttribute(TemplateInstance.Single)>
<BrowsableAttribute(False)>
<TemplateContainerAttribute(GetType(RepeaterItem))>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public Property EmptyDataTemplate As ITemplate

Property Value

Type: System.Web.UI.ITemplate

The repeater template with empty data.

See Also

Repeater Class
Microsoft.Web.Mvc.Controls Namespace

Return to top