TreeListTemplates.EditForm Property

Gets or sets a template for displaying the Edit Form.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v19.2.dll

Declaration

[DefaultValue(null)]
public ITemplate EditForm { get; set; }
<DefaultValue(Nothing)>
Public Property EditForm As ITemplate

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