Adds the HTML attributes and styles that need to be rendered for the control to the specified HtmlTextWriter object.
Assembly: System.Web (in System.Web.dll)
The method is used to render the attributes of the control in the HTML tag for the control. This method is typically overridden by control developers in derived classes to insert the appropriate attributes and styles to the HtmlTextWriter output stream for a control.Notes to Inheritors
When overriding the method, be sure to call the corresponding method in the base class. Otherwise, the attributes contained in the base class will not be rendered.