asp.net.ph

Control.Parent Property

System.Web.UI Namespace   Control Class


Returns the current control's parent control in the UI hierarchy.

Syntax


Script Control.Parent

This property can only be used programmatically; it cannot be set when declaring the control.

Property Value

The current control's parent control.

Remarks

Whenever a page is requested, a hierarchy of controls on that page is built up. This property allows you to determine the parent control of the current control in that hierarchy.

See Also

Control Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note