แก้ไข

แชร์ผ่าน


MobileControl.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:
 virtual void CreateDefaultTemplatedUI(bool doDataBind);
public virtual void CreateDefaultTemplatedUI (bool doDataBind);
abstract member CreateDefaultTemplatedUI : bool -> unit
override this.CreateDefaultTemplatedUI : bool -> unit
Public Overridable 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

See also