Export (0) Print
Expand All

ControlBuilder.HtmlDecodeLiterals Method

Determines whether the literal string of an HTML control must be HTML decoded.

[Visual Basic]
Public Overridable Function HtmlDecodeLiterals() As Boolean
[C#]
public virtual bool HtmlDecodeLiterals();
[C++]
public: virtual bool HtmlDecodeLiterals();
[JScript]
public function HtmlDecodeLiterals() : Boolean;

Return Value

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.

Example

[Visual Basic] The following example overrides the HtmlDecodeLiterals method to allow HTML decoding of literal strings in any control this builder is applied to.

[Visual Basic] 
' Override the HtmlDecodeLiterals method to allow HTML
' decoding of literal strings in any controls this builder
' is applied to.
Overrides Public Function HtmlDecodeLiterals() As Boolean
   Return True
End Function

[C#, C++, JScript] No example is available for C#, C++, or JScript. To view a Visual Basic example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ControlBuilder Class | ControlBuilder Members | System.Web.UI Namespace

Show:
© 2014 Microsoft