Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

GridView.SelectedPersistedDataKey Property

Gets or sets the data-key value for the persisted selected item in a GridView control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

[BrowsableAttribute(false)]
public virtual DataKey SelectedPersistedDataKey { get; set; }

Property Value

Type: System.Web.UI.WebControls.DataKey
The data key for the persisted selected item in a GridView control. The default is null, which indicates that no item is currently selected.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP2, 2.0 SP2
Show:
© 2015 Microsoft