GridView.IDataBoundListControl.EnablePersistedSelection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.