DropDownList::LoadPostData Method
Processes postback data for the DropDownList control.
Assembly: System.Web (in System.Web.dll)
protected: virtual bool LoadPostData( String^ postDataKey, NameValueCollection^ postCollection )
Parameters
- postDataKey
- Type: System::String
The index within the posted collection that references the content to load.
- postCollection
- Type: System.Collections.Specialized::NameValueCollection
The collection of all incoming name values posted to the server.
Return Value
Type: System::Booleantrue if the DropDownList control's state changes as a result of the postback event; otherwise, false.
The ASP.NET page framework tracks all the server controls that return true from this method call, and then invokes the RaisePostDataChangedEvent method on the DropDownList control.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
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.