ASPxPopupControlBase.FindControl(String) Method
Searches for the specified server control within specific template containers and the ASPxPopupControlBase.Controls collection.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
id | String | The identifier for the control to be found. |
#Returns
Type | Description |
---|---|
Control | A Control object that is the specified control, or the null reference (Nothing in Visual Basic) if the specified control does not exist. |
#Remarks
Use the FindControl method to search window template containers (of the ASPxPopupControlBase.HeaderTemplate, ASPxPopupControl.WindowHeaderTemplate, ASPxPopupControl.WindowContentTemplate, ASPxPopupControlBase.FooterTemplate and ASPxPopupControl.WindowFooterTemplate types) and the ASPxPopupControlBase.Controls collection for a server control whose programmatic identifier (the ID property) equals the specified id parameter.
Note
For ASPx
The Find
The FindControl method is not in effect if no template is defined at the control’s level or the ASPxPopupControlBase.Controls collection is empty.