RadioButtonList.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 RadioButtonList control.

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

bool IPostBackDataHandler.LoadPostData(
	string postDataKey,
	NameValueCollection postCollection
)

Parameters

postDataKey
Type: System.String

The key identifier for the control, used to index the postCollection.

postCollection
Type: System.Collections.Specialized.NameValueCollection

A System.Collections.Specialized.NameValueCollection that contains value information indexed by control identifiers.

Return Value

Type: System.Boolean

true if the server control's state changed as a result of the postback; otherwise, false.

Typically, you should use the RadioButtonList.LoadPostData method to process posted data for a RadioButtonList control.

The IPostBackDataHandler.LoadPostData method is an explicit interface member implementation. It can be used only when the RadioButtonList instance is cast to an IPostBackDataHandler interface.

Notes to Implementers:

To define a custom implementation for processing posted data for a RadioButtonList control, override the RadioButtonList.LoadPostData method. The explicit interface implementation calls the RadioButtonList.LoadPostData method to process the posted data for the control.

.NET Framework
Available since 1.1
Return to top
Show: