- postDataKey
- The key identifier for the control, used to index the postCollection.
- postCollection
- A System.Collections.Specialized.NameValueCollection that contains value information indexed by control identifiers.
true if the posted content is different from the last posting; otherwise, false.
The ListBox.LoadPostData(string, System.Collections.Specialized.NameValueCollection) method is used primarily by control developers, when deriving a custom control from the System.Web.UI.WebControls.ListBox class.
The ListBox.LoadPostData(string, System.Collections.Specialized.NameValueCollection) method indicates if the state of the System.Web.UI.WebControls.ListBox control has changed. In other words, it determines if each list item in the control has the same ListItem.Selected value as the last posted value. A user selecting an item in the control changes the ListItem.Selected value for the corresponding System.Web.UI.WebControls.ListItem object in the ListControl.Items collection of the System.Web.UI.WebControls.ListBox control. If some list items are selected in the control, or if the System.Web.UI.WebControls.ListBox is disabled, ListBox.LoadPostData(string, System.Collections.Specialized.NameValueCollection) returns false.
When the ListBox.LoadPostData(string, System.Collections.Specialized.NameValueCollection) method returns true for a control, the ASP.NET page framework invokes the RadioButtonList.RaisePostDataChangedEvent method for the control.