This documentation is archived and is not being maintained.
HtmlSelect::IPostBackDataHandler::LoadPostData Method
Visual Studio 2010
For a description of this member, see IPostBackDataHandler::LoadPostData.
Assembly: System.Web (in System.Web.dll)
private: virtual bool LoadPostData( String^ postDataKey, NameValueCollection^ postCollection ) sealed = IPostBackDataHandler::LoadPostData
Parameters
- postDataKey
- Type: System::String
The key identifier for the control.
- postCollection
- Type: System.Collections.Specialized::NameValueCollection
The collection of all incoming name values.
Return Value
Type: System::Booleantrue if the HtmlSelect control's state has changed as a result of a postback; otherwise, false.
Implements
IPostBackDataHandler::LoadPostData(String, NameValueCollection)| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The SelectedIndex property was set to a value greater than the number of items in the HtmlSelect control or less than -1. |
This member is an explicit interface member implementation. It can be used only when the HtmlSelect instance is cast to an IPostBackDataHandler interface.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: