ListView.IDataBoundListControl.EnablePersistedSelection Property

.NET Framework (current version)

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

Gets or sets the value that specifies whether a selected row persists when a user pages through data in a data-bound control.

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

private abstract EnablePersistedSelection : bool with get, set
private override EnablePersistedSelection : bool with get, set

Property Value

Type: System.Boolean

true if the selection is based on data keys; otherwise, false.

This member is an explicit interface member implementation. It can be used only when the ListView instance is cast to an IDataBoundListControl interface.

.NET Framework
Available since 4.0
Return to top