This documentation is archived and is not being maintained.

CreateDefaultTemplatedUI Method (Common)

.NET Framework 1.1

Called by device adapters to create the default templated user interface (UI) for the control.

public virtual void CreateDefaultTemplatedUI(
   bool doDataBind


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).

See Also

Creating Extended Controls

Applies to: MobileControl Class | Panel Class | Image Class | List Class