System.Web.UI.WebControls.ListItemControlBuilder.AllowWhitespaceLiterals Method

Determines whether white spaces in the text associated with the System.Web.UI.WebControls.ListItem are represented by System.Web.UI.LiteralControl objects.

Syntax

public override bool AllowWhitespaceLiterals ()

Returns

false for all cases.

Remarks

This method overrides the inherited implementation of the System.Web.UI.ControlBuilder.AllowWhitespaceLiterals method to always indicate that white spaces in the text associated with the System.Web.UI.WebControls.ListItem control are not represented by System.Web.UI.LiteralControl objects.

Requirements

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