TemplatedControlDesigner.SetTemplateContent Method (ITemplateEditingFrame, String, String)

Note: This API is now obsolete.

When overridden in a derived class, sets the specified template's content to the specified content.

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

[ObsoleteAttribute("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public abstract void SetTemplateContent(
	ITemplateEditingFrame editingFrame,
	string templateName,
	string templateContent


Type: System.Web.UI.Design.ITemplateEditingFrame

The template editing frame to provide content for.

Type: System.String

The name of the template.

Type: System.String

The content to set for the template.

.NET Framework
Available since 1.1
Return to top