ToolPane.CreateZoneDropdown Method (WebPartPage)

NOTE: This API is now obsolete.

Creates a System.Web.UI.WebControls.DropDownList control filled with the list of zones on the page to which the user can add Web Parts.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("This function is deprecated. Use CreateZoneDropdown(SPWebPartManager webPartManager) instead.",  _
    False)> _
Public Shared Function CreateZoneDropdown ( _
    webPartPage As WebPartPage _
) As DropDownList
'Usage
Dim webPartPage As WebPartPage
Dim returnValue As DropDownList

returnValue = ToolPane.CreateZoneDropdown(webPartPage)
[ObsoleteAttribute("This function is deprecated. Use CreateZoneDropdown(SPWebPartManager webPartManager) instead.", 
    false)]
public static DropDownList CreateZoneDropdown(
    WebPartPage webPartPage
)

Parameters

Return Value

Type: System.Web.UI.WebControls.DropDownList
A System.Web.UI.WebControls.DropDownList control filled with the list of zones on the page to which the user can add Web Parts.

See Also

Reference

ToolPane Class

ToolPane Members

CreateZoneDropdown Overload

Microsoft.SharePoint.WebPartPages Namespace