Class ListToListSelector
Represents ASP.Net Ajax server control for selecting several items by moving them from one list box to other one.
Inheritance
Implements
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 12.17.2Syntax
public class ListToListSelector : ListControl, IScriptControl, INamingContainer
Constructors
ListToListSelector()
Declaration
public ListToListSelector()
Properties
AllItemsToSourceButtonId
Gets or sets all items to source button id.
Declaration
public string AllItemsToSourceButtonId { get; set; }
Property Value
Type | Description |
---|---|
System.String | All items to source button id. |
AllItemsToTargetButtonId
Gets or sets all items to target button id.
Declaration
public string AllItemsToTargetButtonId { get; set; }
Property Value
Type | Description |
---|---|
System.String | All items to target button id. |
ItemDownButtonId
Gets or sets the item down button id.
Declaration
public string ItemDownButtonId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The item down button id. |
ItemUpButtonId
Gets or sets the item up button id.
Declaration
public string ItemUpButtonId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The item up button id. |
ItemValuesSeparator
Gets or sets the item values separator. Default value is ",".
Declaration
public string ItemValuesSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The item values separator. |
OneItemToSourceButtonId
Gets or sets the one item to source button id.
Declaration
public string OneItemToSourceButtonId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The one item to source button id. |
OneItemToTargetButtonId
Gets or sets the one item to target button id.
Declaration
public string OneItemToTargetButtonId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The one item to target button id. |
SelectAllSourceItemsButtonId
Gets or sets the button id which selects all source items.
Declaration
public string SelectAllSourceItemsButtonId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The select all source button id. |
SelectAllTargetItemsButtonId
Gets or sets the button id which selects all source items.
Declaration
public string SelectAllTargetItemsButtonId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The select all source button id. |
SourceListId
Gets or sets the source list id.
Declaration
public string SourceListId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The source list id. |
TargetListId
Gets or sets the target list id.
Declaration
public string TargetListId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The target list id. |
Methods
ClearItems()
Declaration
public void ClearItems()
ClearSourceItems()
Declaration
public void ClearSourceItems()
ClearTargetItems()
Declaration
public void ClearTargetItems()
CompareListWeightItem(ListItem, ListItem)
Compares the list weight item.
Declaration
protected virtual int CompareListWeightItem(ListItem x, ListItem y)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.WebControls.ListItem | x | The x. |
System.Web.UI.WebControls.ListItem | y | The y. |
Returns
Type | Description |
---|---|
System.Int32 |
CreateChildControls()
Declaration
protected override void CreateChildControls()
GetSelectedItems()
Get selected items from target list.
Declaration
public List<ListItem> GetSelectedItems()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.Web.UI.WebControls.ListItem> |
OnLoad(EventArgs)
Handles the System.Web.UI.Control.Load event.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs object that contains event data. |
OnPreRender(EventArgs)
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer |
RenderContents(HtmlTextWriter)
Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer |