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

MenuItem.FindControl(String) Method

Searches the current naming container for a server control with the specified id parameter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public virtual Control FindControl(
    string id
)

Parameters

Name Type Description
id String

The identifier for the control to be found.

Returns

Type Description
Control

A Control object representing the specified control, or the null reference (Nothing in Visual Basic) if the specified control does not exist.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FindControl(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