System.Web.UI.ControlBuilder.AllowWhitespaceLiterals Method

Determines whether white space literals are permitted in the content between a control's opening and closing tags. This method is called by the ASP.NET page framework.

Syntax

public virtual bool AllowWhitespaceLiterals ()

Returns

Always returns true.

Remarks

The ControlBuilder.AllowWhitespaceLiterals method is used to determine whether white space literals are permitted in the content between the opening and closing tags of a control. When this method returns false, the white space literals are trimmed from the content before the content is processed by the page parser. When this method returns true, the white space literals not removed.

This 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