Bewerken

Delen via


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.

property bool System::Web::UI::WebControls::IDataBoundListControl::EnablePersistedSelection { bool get(); void set(bool value); };
bool System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection { get; set; }
member this.System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection : bool with get, set
 Property EnablePersistedSelection As Boolean Implements IDataBoundListControl.EnablePersistedSelection

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