7.2. Server controls
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 ...
Get A Programmer's Guide to .NET 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.