GetTemplate Method (Common)

Returns the template with the specified name.

Public virtual System.Web.UI.ITemplate GetTemplate(
   string templateName
)

Parameters

  • templateName
    The name of the specified template.

Inheritance

The following classes inherit the GetTemplate method.

AdRotator List
Calendar ObjectList
PhoneCall Panel
Command RangeValidator
CompareValidator RegularExpressionValidator
CustomValidator RequiredFieldValidator
Form StyleSheet
Image TextBox
Label TextView
Link ValidationSummary

Remarks

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

See Also

Applies to: DeviceSpecific Class | MobileControl Class