CheckBoxList::IPostBackDataHandler::LoadPostData Method
Processes posted data for the CheckBoxList control.
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, used to index the postCollection.
- postCollection
- Type: System.Collections.Specialized::NameValueCollection
A NameValueCollection object that contains value information indexed by control identifiers.
Return Value
Type: System::Booleantrue if the server control's state changes as a result of the postback; otherwise, false.
Implements
IPostBackDataHandler::LoadPostData(String, NameValueCollection)Typically, you should use the LoadPostData method to process posted data for a CheckBoxList object.
The IPostBackDataHandler::LoadPostData method is an explicit interface member implementation. It can be used only when the CheckBoxList instance is cast to an IPostBackDataHandler interface.
Notes to ImplementersTo define a custom implementation for processing posted data for a CheckBoxList object, override the CheckBoxList::LoadPostData member. The explicit interface implementation calls the CheckBoxList::LoadPostData method to process the posted data for the control.
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.