MobileControl.CreateDefaultTemplatedUI(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.
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).