Skip to main content
A newer version of this page is available. .
Tab

ASPxGridView.FindEditFormTemplateControl(String) Method

Searches for the specified server control contained within the Edit Form‘s template.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public Control FindEditFormTemplateControl(
    string id
)

Parameters

Name Type Description
id String

A String value that identifies the control within the Edit Form.

Returns

Type Description
Control

A Control object that represents the control contained within the Edit Form.

Remarks

For more information, see Templates.

Example

For a full example, see Grid - Edit Form Templates demo.

protected string GetMemoText() {
     ASPxPageControl pageControl = grid.FindEditFormTemplateControl("pageControl") as ASPxPageControl;
     ASPxMemo memo = pageControl.FindControl("notesEditor") as ASPxMemo;
     return memo.Text;
}

The following code snippets (auto-collected from DevExpress Examples) contain references to the FindEditFormTemplateControl(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also