O'Reilly logo

Pro C# 2010 and the .NET 4 Platform, Fifth Edition by Andrew Troelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Table 33.1. Select Members of System.Web.UI.Control
MemberMeaning in Life
ControlsThis 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.
EnableThemingThis property establishes whether the control supports theme functionality (the default is true).
HasControls()This method determines whether the server control contains ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required