Click or drag to resize

PasswordAddAttributesToRender Method

Adds the HTML attributes and styles that need to be rendered for the control to the specified HtmlTextWriter object.

Namespace:  NetQuarry.WebControls
Assembly:  EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
protected override void AddAttributesToRender(
	HtmlTextWriter writer
)

Parameters

writer
Type: System.Web.UIHtmlTextWriter
An HtmlTextWriter that represents the output stream to render HTML content on the client.
Remarks
The AddAttributesToRender method is used to render the attributes of the control in the HTML tag for the control. This method is typically overridden by control developers in derived classes to insert the appropriate attributes and styles to the HtmlTextWriter output stream for a control.
In this case, we want to convert the text to a string of marker characters (*) instead of the actual text.
See Also