Click or drag to resize
UniSelectorNewListItem Method (DataRow, String)
Creates a new list item based on the given DataRow.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
protected ListItem NewListItem(
	DataRow dr,
	string securityPurpose
)

Parameters

dr
Type: System.DataDataRow
Data row.
securityPurpose
Type: SystemString
Prevents the control values from being maliciously used in a different control. A suitable value can be the control's ClientID.

Return Value

Type: ListItem
See Also