HtmlInputCheckBox.LoadPostData Method (String, NameValueCollection)

 

Processes the postback data for the HtmlInputCheckBox control.

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

abstract LoadPostData : 
        postDataKey:string *
        postCollection:NameValueCollection -> bool
override LoadPostData : 
        postDataKey:string *
        postCollection:NameValueCollection -> bool

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 HtmlInputCheckBox control's state has changed as a result of the postback event; otherwise, false.

This method is primarily of interest to custom control developers extending the functionality of the HtmlInputCheckBox control.

.NET Framework
Available since 2.0
Return to top
Show: