Export (0) Print
Expand All
Expand Minimize

ListView::IDataBoundListControl::EnablePersistedSelection Property

.NET Framework 4.6 and 4.5

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)

virtual property bool EnablePersistedSelection {
	bool get () sealed = IDataBoundListControl::EnablePersistedSelection::get;
	void set (bool value) sealed = IDataBoundListControl::EnablePersistedSelection::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

Supported in: 4.6, 4.5, 4
© 2015 Microsoft