Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetContainingTemplateName Method
Collapse the table of content
Expand the table of content

ITemplateEditingService.GetContainingTemplateName Method

Gets the name of the parent template.

Namespace:  System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

string GetContainingTemplateName(
	Control control


Type: System.Web.UI.Control

The Control for which to get the name of the parent template.

Return Value

Type: System.String
The name of the parent template.


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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
© 2015 Microsoft