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 MustOverride Sub SetTemplateContent (
	editingFrame As ITemplateEditingFrame,
	templateName As String,
	templateContent As String
)

Parameters

editingFrame
Type: System.Web.UI.Design.ITemplateEditingFrame

The template editing frame to provide content for.

templateName
Type: System.String

The name of the template.

templateContent
Type: System.String

The content to set for the template.

.NET Framework
Available since 1.1
Return to top
Show: