MobileControl.GetTemplate Method (String)

 

Returns the template with the specified name. 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 ITemplate GetTemplate(
	string templateName
)

Parameters

templateName
Type: System.String

The name of the specified template.

Return Value

Type: System.Web.UI.ITemplate

The template with the specified name.

Returns null if the control is not templated, or if the template does not exist in the selected template set.

.NET Framework
Available since 1.1

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

Return to top
Show: