This documentation is archived and is not being maintained.

CatalogZoneBase::LoadPostData Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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.

Namespace:  System.Web.UI.WebControls.WebParts
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 name/value pairs posted to the server.

Return Value

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

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: