System.Web.UI.HtmlControls.HtmlInputPassword.RenderAttributes Method

Renders the attributes of the System.Web.UI.HtmlControls.HtmlInputPassword control to the specified System.Web.UI.HtmlTextWriter object.

Syntax

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

Parameters

writer
The System.Web.UI.HtmlTextWriter that receives the rendered content.

Remarks

The HtmlInputPassword.RenderAttributes(System.Web.UI.HtmlTextWriter) method removes the Value attribute from the view state collection to prevent it from being rendered, and then calls the base class's HtmlInputControl.RenderAttributes(System.Web.UI.HtmlTextWriter) method.

Requirements

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