This documentation is archived and is not being maintained.

CheckBoxList.IPostBackDataHandler.LoadPostData Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Processes posted data for the CheckBoxList control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

bool IPostBackDataHandler.LoadPostData(
	string postDataKey,
	NameValueCollection postCollection


Type: System.String
The key identifier for the control, used to index the postCollection.
Type: System.Collections.Specialized.NameValueCollection
A NameValueCollection object that contains value information indexed by control identifiers.

Return Value

Type: System.Boolean
true if the server control's state changes as a result of the postback; otherwise, false.


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 Implementers

To 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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

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.