CheckBoxList.IPostBackDataHandler.LoadPostData Method (String, NameValueCollection)
This API supports the product infrastructure and is not intended to be used directly from your code.
Processes posted data for the CheckBoxList control.
Assembly: System.Web (in System.Web.dll)
Private Function LoadPostData ( postDataKey As String, postCollection As NameValueCollection ) As Boolean Implements 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.
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.
Available since 1.1