ListView.InstantiateEmptyDataTemplate(Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.