Form.CreateDefaultTemplatedUI(Boolean) Method

Definition

Called by device adapters to create the default templated user interface (UI) for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override void CreateDefaultTemplatedUI(bool doDataBind);
public override void CreateDefaultTemplatedUI (bool doDataBind);
override this.CreateDefaultTemplatedUI : bool -> unit
Public Overrides Sub CreateDefaultTemplatedUI (doDataBind As Boolean)

Parameters

doDataBind
Boolean

Set to true if the instantiated templates must bind to available data (which usually happens on the first request). Set to false if the templates must not bind to data, and instead rely on view state to fill them in (which usually happens on subsequent postbacks).

Applies to