Tab

ASPxGridViewTemplateReplacement.ReplacementType Property

Gets or sets which controls are displayed by the ASPxGridViewTemplateReplacement.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

public GridViewTemplateReplacementType ReplacementType { get; set; }

Property Value

Type Description
GridViewTemplateReplacementType

A GridViewTemplateReplacementType enumeration value that specifies which controls are displayed by the ASPxGridViewTemplateReplacement.

Available values:

Name Description
EditFormContent

The edit form’s entire contents (edit cells and buttons) are displayed within the edit form template.

EditFormCancelButton

The Cancel button is displayed within the edit form template.

EditFormUpdateButton

The Update button is displayed within the edit form template.

EditFormEditors

The edit cell of each field within grid is displayed within the edit form template.

EditFormCellEditor

The edit cell is displayed within the edit form template.

Pager

The Pager is displayed within the pager template.

Remarks

ASPxGridView control supports automatic creation or regular controls within the GridViewTemplates.EditForm and GridViewTemplates.PagerBar templates. The ReplacementType property value specifies which controls are displayed.

Concept

Template Replacements

See Also