ChtmlTextWriter.OnTagRender Method (String, HtmlTextWriterTag)
.NET Framework (current version)
Determines whether the specified cHTML markup element is rendered to the requesting page.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System.String
A string containing the name of the cHTML element to render.
- key
-
Type:
System.Web.UI.HtmlTextWriterTag
The HtmlTextWriterTag associated with name.
Return Value
Type: System.Booleantrue if the specified cHTML markup element can be rendered; otherwise, false.
If the cHTML element is a span element, the OnTagRender method returns false. For all other tags, it returns true.
.NET Framework
Available since 2.0
Available since 2.0
Show: