System.Web.UI.Design.TemplatedControlDesigner.GetTemplateContainerDataItemProperty Method

Gets the data item property of the template's container.

Syntax

[System.Obsolete("Template editing is supported in ControlDesigner.TemplateGroups with SetViewFlags(ViewFlags.TemplateEditing, true) in 2.0.")]
public virtual string GetTemplateContainerDataItemProperty (string templateName)

Parameters

templateName
The name of the template.

Returns

A string representing the data.

Remarks

Note:

The TemplatedControlDesigner.GetTemplateContainerDataItemProperty(string) method is obsolete. Use the TemplateGroup.Templates property of the TemplatedControlDesigner.TemplateGroups collection elements to examine template metadata within a designer for template-based controls.

Requirements

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