Skip to main content

TreeListTemplates.EditForm Property

Gets or sets a template for displaying the Edit Form.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(null)]
public ITemplate EditForm { get; set; }

Property Value

Type Default Description
ITemplate null

An object that implements the System.Web.UI.ITemplate interface.

Remarks

The image below shows the Edit Form’s default layout:

cdEditForm_template

You can provide any possible layout for the Edit Form using the EditForm template. For an example, see the Edit Form Template demo.

If you use edit form templates, you must process the update manually in the ASPxTreeList.NodeUpdating event handler.

Note

Once a template defined via the EditForm property is created within a tab control, it is instantiated within a container object of the TreeListEditFormTemplateContainer type. This container object exposes a set of specific properties to which the template’s child controls can be bound.

See Also