Muokkaa

Jaa


DataListDesigner.GetCachedTemplateEditingVerbs 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

Gets the cached template editing verbs available to the designer.

protected:
 override cli::array <System::Web::UI::Design::TemplateEditingVerb ^> ^ GetCachedTemplateEditingVerbs();
protected override System.Web.UI.Design.TemplateEditingVerb[] GetCachedTemplateEditingVerbs ();
[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.TemplateEditingVerb[] GetCachedTemplateEditingVerbs ();
override this.GetCachedTemplateEditingVerbs : unit -> System.Web.UI.Design.TemplateEditingVerb[]
[<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.GetCachedTemplateEditingVerbs : unit -> System.Web.UI.Design.TemplateEditingVerb[]
Protected Overrides Function GetCachedTemplateEditingVerbs () As TemplateEditingVerb()

Returns

An array of TemplateEditingVerb objects consisting of the cached template editing verbs that are available to the designer.

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