CmsDataFormWebPart.PopulateHeaderDropDown Method
Populates the header drop-down list.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Sub PopulateHeaderDropDown ( _
ddl As DropDownList, _
selectedValue As String _
)
'Usage
Dim instance As CmsDataFormWebPart
Dim ddl As DropDownList
Dim selectedValue As String
instance.PopulateHeaderDropDown(ddl, _
selectedValue)
public void PopulateHeaderDropDown(
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.