System.Web.UI.ControlBuilder.HtmlDecodeLiterals Method

Determines whether the literal string of an HTML control must be HTML decoded. This method is called by the ASP.NET page framework.

Syntax

public virtual bool HtmlDecodeLiterals ()

Returns

true if the HTML control literal string is to be decoded; otherwise, false.

Remarks

A literal string refers to the text between the opening and closing tag of an HTML control. HTML encoding is when text is converted into a string representation that the browser will display rather than interpret as HTML. Characters such as the question mark (?), ampersand (&), slash mark (/), and spaces might be truncated or corrupted by some browsers, so those characters must be encoded when they appear in a tags or in query strings.

The ControlBuilder.HtmlDecodeLiterals method is called by the ASP.NET page framework during parsing and is not intended to be called directly in you code.

Requirements

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