This documentation is archived and is not being maintained.

HtmlInputRadioButton::LoadPostData Method

Processes the postback data for the HtmlInputRadioButton control.

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

protected:
virtual bool LoadPostData(
	String^ postDataKey, 
	NameValueCollection^ postCollection
)

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::Boolean
true if the HtmlInputRadioButton control's state has changed as a result of the postback; otherwise, false.

The LoadPostData method checks to see whether the postback value of the HtmlInputRadioButton control is different from its previous value, and if so, returns true.

The LoadPostData method is used primarily by control developers extending the functionality of the HtmlInputRadioButton control.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.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.
Show: