Skip to main content

ASPxTreeList.FindInlineEditCellTemplateControl(TreeListDataColumn, String) Method

OBSOLETE

Use the FindEditCellTemplateControl method instead

Searches for the specified server control contained within the specified cell’s template displayed within the In-Line Edit Node.

Namespace: DevExpress.Web.ASPxTreeList

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

Declaration

[Obsolete("Use the FindEditCellTemplateControl method instead")]
public Control FindInlineEditCellTemplateControl(
    TreeListDataColumn column,
    string id
)

Parameters

Name Type Description
column TreeListDataColumn

A TreeListDataColumn descendant that represents the data column.

id String

A String value that identifies the control within the edit cell.

Returns

Type Description
Control

A Control object that represents the control contained within the specified cell’s template.

Remarks

To identify whether the processed row corresponds to the In-Line Edit Node, use the TreeListHtmlRowEventArgs.RowKind property.

using DevExpress.Web.ASPxTreeList;
using DevExpress.Web.ASPxEditors;

protected void ASPxTreeList1_HtmlRowPrepared(object sender,
TreeListHtmlRowEventArgs e) {
    if (e.RowKind == TreeListRowKind.InlineEdit) {
        ASPxSpinEdit spinEdit = ASPxTreeList1.FindInlineEditCellTemplateControl(
          ASPxTreeList1.Columns["Budget"] as TreeListDataColumn, "ASPxSpinEdit1") as ASPxSpinEdit;
    }
}

For more information, see Templates.

See Also