Renders the System.Web.UI.HtmlControls.HtmlButton control's attributes to the specified System.Web.UI.HtmlTextWriter object.
- writer
The System.Web.UI.HtmlTextWriter that contains the output stream to render on the client.
The HtmlButton.RenderAttributes(System.Web.UI.HtmlTextWriter) method writes the onclick attribute of the rendered System.Web.UI.HtmlControls.HtmlButton control, and then calls the base HtmlControl.RenderAttributes(System.Web.UI.HtmlTextWriter) method.
The HtmlButton.RenderAttributes(System.Web.UI.HtmlTextWriter) method is used primarily by control developers extending the functionality of the System.Web.UI.HtmlControls.HtmlButton control.