Adds the HTML attributes and styles that need to be rendered for the control to the specified System.Web.UI.HtmlTextWriter object.
- writer
- An System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.
The BaseValidator.AddAttributesToRender(System.Web.UI.HtmlTextWriter) 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 System.Web.UI.HtmlTextWriter output stream for a control.