Editare

Partajați prin


DataListDesigner.CreateTemplateEditingFrame(TemplateEditingVerb) Method

Definition

Caution

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

Creates a template editing frame using the specified verb.

protected:
 override System::Web::UI::Design::ITemplateEditingFrame ^ CreateTemplateEditingFrame(System::Web::UI::Design::TemplateEditingVerb ^ verb);
protected override System.Web.UI.Design.ITemplateEditingFrame CreateTemplateEditingFrame (System.Web.UI.Design.TemplateEditingVerb verb);
[System.Obsolete("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")]
protected override System.Web.UI.Design.ITemplateEditingFrame CreateTemplateEditingFrame (System.Web.UI.Design.TemplateEditingVerb verb);
override this.CreateTemplateEditingFrame : System.Web.UI.Design.TemplateEditingVerb -> System.Web.UI.Design.ITemplateEditingFrame
[<System.Obsolete("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")>]
override this.CreateTemplateEditingFrame : System.Web.UI.Design.TemplateEditingVerb -> System.Web.UI.Design.ITemplateEditingFrame
Protected Overrides Function CreateTemplateEditingFrame (verb As TemplateEditingVerb) As ITemplateEditingFrame

Parameters

verb
TemplateEditingVerb

The TemplateEditingVerb for which to create the template editing frame.

Returns

An ITemplateEditingFrame object.

Attributes

Remarks

Rather than using editing frames, use template groups and designer editing regions. For more information, see TemplateGroups and DesignerRegion.

Applies to

See also