HttpCapabilitiesBase.RequiresLeadingPageBreak Property

 

Gets a value indicating whether the browser requires the first element in the body of a Web page to be an HTML <br> element.

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

abstract RequiresLeadingPageBreak : bool with get
override RequiresLeadingPageBreak : bool with get

Property Value

Type: System.Boolean

true if the browser requires the first element in the body of a Web page to be an HTML BR element; otherwise, false. The default is false.

If true, server-control adapters insert an additional <br> element immediately following the <body> tag in a Web page.

The following code example shows how to determine whether the browser requires the first element in the body of a Web page to be an HTML <br> element.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: