GridView.IDataBoundListControl.EnablePersistedSelection Property

Definition

Gets or sets a value that indicates whether the selection of a row is based on index or on data-key values.

bool System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection { get; set; }

Property Value

true if the row selection is based on data-key values; otherwise, false.

Implements

Remarks

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

ASP.NET Dynamic Data supports this property.

Applies to

제품 버전
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1