HyperLinkControlBuilder.AllowWhitespaceLiterals Method ()


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

Gets a value that indicates whether white spaces are allowed in literals for this control.

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

public override bool AllowWhitespaceLiterals()

Return Value

Type: System.Boolean

Overloaded to always returns false to indicate that white spaces are not allowed.

This method overrides the ControlBuilder.AllowWhitespaceLiterals property to ignore white space in the HyperLink control.

.NET Framework
Available since 1.1
Return to top