DataSourceControlBuilder.AllowWhitespaceLiterals Method ()

 
System_CAPS_noteNote

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

Determines whether white-space literals are permitted in the content between a control's opening and closing tags.

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

public override bool AllowWhitespaceLiterals()

Return Value

Type: System.Boolean

Always false.

The AllowWhitespaceLiterals method is used to determine whether white-space literals are permitted in the content between the opening and closing tags of a control. DataSourceControlBuilder always returns false in this method, which means the white-space literals are trimmed from the content before the content is processed by the page parser.

.NET Framework
Available since 2.0
Return to top
Show: