ListView.InstantiateEmptyDataTemplate(Control) Method

Definition

Populates the specified Control object by using the child controls that are contained in the EmptyDataTemplate template.

protected:
 virtual void InstantiateEmptyDataTemplate(System::Web::UI::Control ^ container);
protected virtual void InstantiateEmptyDataTemplate (System.Web.UI.Control container);
abstract member InstantiateEmptyDataTemplate : System.Web.UI.Control -> unit
override this.InstantiateEmptyDataTemplate : System.Web.UI.Control -> unit
Protected Overridable Sub InstantiateEmptyDataTemplate (container As Control)

Parameters

container
Control

The container that is used to store the child controls in the EmptyDataTemplate template.

Remarks

This method is used to populate the specified Control object by using the child controls that are contained in the EmptyDataTemplate template.

Note

This method is primarily used by control developers to extend the ListView control.

Applies to

See also