System.Web.UI.Design.ITemplateEditingService.GetContainingTemplateName Method

Gets the name of the parent template.

Syntax

public string GetContainingTemplateName (System.Web.UI.Control control)

Parameters

control
The System.Web.UI.Control for which to get the name of the parent template.

Returns

The name of the parent template.

Remarks

Note:

The System.Web.UI.Design.ITemplateEditingService interface is obsolete. Use the TemplatedEditableDesignerRegion.TemplateDefinition property of the System.Web.UI.Design.TemplatedEditableDesignerRegion class for equivalent design time functionality.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0