System.Web.UI.WebControls.FileUpload.AddAttributesToRender Method

Adds the HTML attributes and styles of a System.Web.UI.WebControls.FileUpload control to render to the specified System.Web.UI.HtmlTextWriter object.

Syntax

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

Parameters

writer
An System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Remarks

The FileUpload.AddAttributesToRender(System.Web.UI.HtmlTextWriter) method is primarily used by control developers to insert the appropriate attributes and styles to the System.Web.UI.HtmlTextWriter output stream for a System.Web.UI.WebControls.FileUpload control. The FileUpload.AddAttributesToRender(System.Web.UI.HtmlTextWriter) method overrides the WebControl.AddAttributesToRender(System.Web.UI.HtmlTextWriter) method.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0