PortalHelperFindManager Method |
Finds the Portal manager within the controls structure.
Namespace: CMS.PortalEngine.Web.UIAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 12.0.0
Syntax public static CMSPortalManager FindManager(
Control sender,
bool searchUp = true
)
Parameters
- sender
- Type: System.Web.UIControl
Control that requests to find the manager - searchUp (Optional)
- Type: SystemBoolean
If true, parent controls are searched
Return Value
Type:
CMSPortalManagerSee Also