FileUpload::AddAttributesToRender Method (HtmlTextWriter^)

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected:
virtual void AddAttributesToRender(
	HtmlTextWriter^ writer
) override

Parameters

writer
Type: System.Web.UI::HtmlTextWriter^

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

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

.NET Framework
Available since 2.0
Return to top
Show: