NextPreviousPagerField.RenderNonBreakingSpacesBetweenControls Property


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

Gets or sets a value that indicates whether non-breaking spaces are rendered between controls.

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

public bool RenderNonBreakingSpacesBetweenControls { get; set; }

Property Value

Type: System.Boolean

true if non-breaking spaces are rendered between controls; otherwise, false. The default is true.

Use the RenderNonBreakingSpacesBetweenControls property to specify whether non-breaking spaces (the HTML   character) are rendered between the navigation controls of the NextPreviousPagerField object. You can set RenderNonBreakingSpacesBetweenControls to false if you need more control over the layout that you are creating with cascading style sheet (CSS) classes.

The value of this property is stored in viewstate.

.NET Framework
Available since 3.5
Return to top