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
ddl
Type: System.Web.UI.WebControls.DropDownListA DropDownList object containing the list values.
selectedValue
Type: System.StringA string that contains the value initially selected.