Επεξεργασία

Κοινή χρήση μέσω


CatalogZoneBase.LoadPostData(String, NameValueCollection) Method

Definition

Processes the state of the check boxes that correspond to the WebPart controls in the catalog, when the page is posted back to the server.

protected:
 virtual bool LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection);
protected virtual bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
abstract member LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Protected Overridable Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean

Parameters

postDataKey
String

The key identifier for the control.

postCollection
NameValueCollection

The collection of name/value pairs posted to the server.

Returns

This method, in contrast to the overridden base method, always returns false, because the class does not expose any change event.

Remarks

This method iterates through the collection of CheckBox controls to determine which WebPart or other server controls in the catalog have been selected by a user. The selected items are assigned to an internal array, which is then processed to add the corresponding controls to the Web page.

The method is not designed to be called from your code; it is used internally by the Web Parts control set.

Applies to

See also