DynamicDataExtensions.EnablePersistedSelection Method (BaseDataBoundControl)
Enables selection to be persisted in data controls that support selection and paging.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
[<ObsoleteAttribute("Use the EnablePersistedSelection property on a databound control such as GridView or ListView.")>] static member EnablePersistedSelection : dataBoundControl:BaseDataBoundControl -> unit
The data bound control.
In controls that extend BaseDataBoundControl and that support selection, paging, and sorting, calling this method enables the control to persist selection even when the selected row is not visible. For example, if the user selects a row and then pages to another page, or if the user sorts the data, the selected row remains selected. If this method is not called, selection is lost when the user pages or sorts.
The RegisterControl method calls .
Available since 3.5