Skip to main content
Tab

PopupWindow.FindControl(String) Method

Searches for the specified server control within the popup window’s template containers and the ContentControlCollectionItem.Controls collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public 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.

#Remarks

This method is not in effect if no template is defined for a popup window or the window’s ContentControlCollectionItem.Controls collection is empty.

See Also