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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access