Show / Hide Table of Contents

Class ListControlExtensions

Inheritance
object
ListControlExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Web.UI.WebControls.Extensions
Assembly: DotNetNuke.Web.dll
Syntax
public static class ListControlExtensions

Methods

AddItem(ListControl, string, string)

Declaration
public static void AddItem(this ListControl control, string text, string value)
Parameters
Type Name Description
ListControl control
string text
string value

DataBind(ListControl, string)

Declaration
public static void DataBind(this ListControl control, string initialValue)
Parameters
Type Name Description
ListControl control
string initialValue

DataBind(ListControl, string, bool)

Declaration
public static void DataBind(this ListControl control, string initial, bool findByText)
Parameters
Type Name Description
ListControl control
string initial
bool findByText

FindByTextWithIgnoreCase(ListItemCollection, string)

Declaration
public static ListItem FindByTextWithIgnoreCase(this ListItemCollection listItems, string text)
Parameters
Type Name Description
ListItemCollection listItems
string text
Returns
Type Description
ListItem

FindByValueWithIgnoreCase(ListItemCollection, string)

Declaration
public static ListItem FindByValueWithIgnoreCase(this ListItemCollection listItems, string value)
Parameters
Type Name Description
ListItemCollection listItems
string value
Returns
Type Description
ListItem

InsertItem(ListControl, int, string, string)

Declaration
public static void InsertItem(this ListControl control, int index, string text, string value)
Parameters
Type Name Description
ListControl control
int index
string text
string value

Select(ListControl, string)

Declaration
public static void Select(this ListControl control, string initial)
Parameters
Type Name Description
ListControl control
string initial

Select(ListControl, string, bool)

Declaration
public static void Select(this ListControl control, string initial, bool findByText)
Parameters
Type Name Description
ListControl control
string initial
bool findByText

Select(ListControl, string, bool, int)

Declaration
public static void Select(this ListControl control, string initial, bool findByText, int fallbackIndex)
Parameters
Type Name Description
ListControl control
string initial
bool findByText
int fallbackIndex
Back to top by the community, for the community... #DNNCMS