Html32TextWriter.OnTagRender(String, HtmlTextWriterTag) Method

Definition

Determines whether to write the specified HTML element to the output stream.

C#
protected override bool OnTagRender(string name, System.Web.UI.HtmlTextWriterTag key);

Parameters

name
String

The HTML element to write to the output stream.

key
HtmlTextWriterTag

The HtmlTextWriterTag enumeration value associated with the HTML element.

Returns

true if the HTML element is written to the output stream; otherwise, false.

Remarks

If the ShouldPerformDivTableSubstitution property is true, the OnTagRender method replaces any div elements that are rendered by a control with table elements.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1