Skip to main content
Tab

ASPxGridViewTemplateReplacement.ColumnID Property

Specifies the data source field bound to an edit cell.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public string ColumnID { get; set; }

Property Value

Type Description
String

The name of the data source field.

Remarks

When you create an edit form template, you can use the EditFormCellEditor template replacement to add an edit cell to the form. Use the ColumnID property to bind the edit cell to a data source field.

EditFormCellEditor

<EditForm>
    <table align="center" cellspacing="10">
        <tr>
            <td>First Name</td>                            
            <td>
                <dx:ASPxGridViewTemplateReplacement ID="TemplateReplacementFirstName"
                ReplacementType="EditFormCellEditor" ColumnID="FirstName" runat="server">
                </dx:ASPxGridViewTemplateReplacement>
            </td>
            <td>Last Name</td>                                                    
            <td>
                <dx:ASPxGridViewTemplateReplacement ID="TemplateReplacementTitleLastName"
                ReplacementType="EditFormCellEditor" ColumnID="LastName" runat="server">
                </dx:ASPxGridViewTemplateReplacement>
            </td>
            ...  
        </tr>
    </table>
</EditForm>
See Also