Html32TextWriter.OnTagRender(String, HtmlTextWriterTag) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether to write the specified HTML element to the output stream.
protected:
override bool OnTagRender(System::String ^ name, System::Web::UI::HtmlTextWriterTag key);
protected override bool OnTagRender (string name, System.Web.UI.HtmlTextWriterTag key);
override this.OnTagRender : string * System.Web.UI.HtmlTextWriterTag -> bool
Protected Overrides Function OnTagRender (name As String, key As HtmlTextWriterTag) As Boolean
Parameters
- name
- String
The HTML element to write to the output stream.
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.