System.Web.UI.WebControls.ImageButton.AddAttributesToRender Method

Adds the attributes of an System.Web.UI.WebControls.ImageButton to the output stream for rendering on the client.

Syntax

protected override void AddAttributesToRender (System.Web.UI.HtmlTextWriter writer)

Parameters

writer
The output stream to render on the client.

Remarks

The ImageButton.OnPreRender(EventArgs) method is used primarily by control developers when deriving a custom class from the System.Web.UI.WebControls.ImageButton control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0