GridView.SelectedPersistedDataKey Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top
Show: