33.2. The Control and WebControl Base Classes
The System.Web.UI.Control base class defines various properties, methods, and events that allow the ability to interact with core (typically non-GUI) aspects of a web control. Table 33-1 documents some, but not all, members of interest.
Member | Meaning in Life |
---|---|
Controls | This property gets a ControlCollection object that represents the child controls within the current control. |
DataBind() | This method binds a data source to the invoked server control and all its child controls. |
EnableTheming | This property establishes whether the control supports theme functionality (the default is true). |
HasControls() | This method determines whether the server control contains ... |
Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.