MobileControl.CreateDefaultTemplatedUI Method (Boolean)

 

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 the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public virtual void CreateDefaultTemplatedUI(
	bool doDataBind
)

Parameters

doDataBind
Type: System.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).

.NET Framework
Available since 1.1

MobileControl Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Inside the ASP.NET Mobile Controls

Return to top
Show: