ListView::IDataBoundListControl::EnablePersistedSelection Property

.NET Framework (current version)
 

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:
property bool EnablePersistedSelection {
	virtual bool get() sealed = IDataBoundListControl::EnablePersistedSelection::get;
	virtual 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
Available since 4.0
Return to top
Show: