Server controls are implemented in the System.Web.UI namespace – which can be found in the system.web.dll assembly – and its secondary namespaces – System.Web.UI.HtmlControls and System.Web.UI.WebControls. All server controls are indirectly based on the Control class, which we covered in the previous chapter when we discussed web forms pages.
Let’s just briefly refresh our memories about the main properties of the Control class.
ID Used to identify a control.
Controls Indicates a collection of child controls.
Page Specifies the Page object that contains the control.
Parent Specifies the control to which this control belongs.
ViewState Used for persisting data across round trips between client and server.
UniqueID Contains ...