Dynamicweb 8 Documentation
createHtmlDropdown Method

The datalist.
The selected data.
if set to true [show none value].
The none value tx T.
Fills up the drop down (ListItem webcontrol). Used in eCommerce backend for misc. dropdown selectors
Syntax
'Declaration
 
Public Shared Function createHtmlDropdown( _ 
   ByVal datalist As SortedList, _ 
   ByVal dropdownObj As HtmlSelect, _ 
   ByVal selectedData As String, _ 
   Optional ByVal showNoneValue As Boolean, _ 
   Optional ByVal noneValueTxT As String _ 
) As String
public static string createHtmlDropdown( 
   SortedList datalist,
   HtmlSelect dropdownObj,
   string selectedData,
   bool showNoneValue,
   string noneValueTxT 
)

Parameters

datalist
The datalist.
dropdownObj
The dropdown HtmlSelect list webcontrol.
selectedData
The selected data.
showNoneValue
if set to true [show none value].
noneValueTxT
The none value tx T.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Gui Class
Gui Members

Send Feedback