CmsDataFormWebPart.PopulateItemDropDown Method

Populates an item drop-down list.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Sub PopulateItemDropDown ( _
    ddl As DropDownList, _
    selectedValue As String _
)
'Usage
Dim instance As CmsDataFormWebPart
Dim ddl As DropDownList
Dim selectedValue As String

instance.PopulateItemDropDown(ddl, selectedValue)
public void PopulateItemDropDown(
    DropDownList ddl,
    string selectedValue
)

Parameters

  • selectedValue
    Type: System.String

    A string that contains the value initially selected.

See Also

Reference

CmsDataFormWebPart Class

CmsDataFormWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace