UI namespace organizes services like control management and HTML cascading style sheet management. Finally, the System. The Control class includes the necessary infrastructure to support server-side controls within the .NET platform. For this discussion, the important function to look at is called Render. The information you put into your control's Render method defines what the control will look like.
Render takes a single argument of type HtmlTextWriter.
HtmlTextWriter abstracts the details of streaming HTML content to the browser level. HtmlTextWriter has a host of member functions for doing this. Other functions within HtmlTextWriter include methods like WriteLineNoTabs, WriteBeginTag, and WriteEndTag. Lifecycle A server-side control is much like a finite state machine. It has an established lifecycle and set of states in which it can exist.