System.Web.UI.WebControls.BaseCompareValidator.AddAttributesToRender Method

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

Syntax

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

Parameters

w
a System.Web.UI.HtmlTextWriter

Remarks

The BaseCompareValidator.AddAttributesToRender(System.Web.UI.HtmlTextWriter) 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 System.Web.UI.HtmlTextWriter output stream for a control.

Requirements

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