Outputs server control content to a provided System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
- writer
- The System.Web.UI.HtmlTextWriter object that receives the control content.
If a server control's Control.Visible property is set to true, this method determines whether tracing is enabled for the page. If so, it stores trace information associated with the control, and renders the server control content to the page.
This method is automatically called by the page during the rendering, but can be overridden by custom control developers.