PlaceHolderControlBuilder.AllowWhitespaceLiterals Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Specifies whether white-space literals are allowed.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override bool AllowWhitespaceLiterals()

Return Value

Type: System.Boolean

false in all cases.

This method overrides the ControlBuilder.AllowWhitespaceLiterals method to ignore white spaces in the Label control.

.NET Framework
Available since 1.1
Return to top