This documentation is archived and is not being maintained.
ListView::SelectedPersistedDataKey Property
Visual Studio 2008
Updated: July 2008
Gets or sets the data-key value for the persisted selected item in a ListView control.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
[BrowsableAttribute(false)] public: virtual property DataKey^ SelectedPersistedDataKey { DataKey^ get (); void set (DataKey^ value); }
<asp:ListView SelectedPersistedDataKey="DataKey" />
Property Value
Type: System.Web.UI.WebControls::DataKeyThe data key for the persisted selected item in a ListView control. The default is nullptr, which indicates that no item is currently selected.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: