ObjectList.CreateTemplatedItemsList(Boolean) 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.
Constructs the list view by building templates. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
void CreateTemplatedItemsList(bool doDataBind);
public void CreateTemplatedItemsList (bool doDataBind);
member this.CreateTemplatedItemsList : bool -> unit
Public Sub CreateTemplatedItemsList (doDataBind As Boolean)
Parameters
- doDataBind
- Boolean
Returns true
if the instantiated templates must bind to available data (which usually happens on the first request). Returns false
if the templates must not bind to data, and instead rely on view state to have them filled in (which usually happens on subsequent postbacks).
Remarks
Called by device adapters when rendering templates.