KaxListBoxTransfer Method (IListKaxListBoxItem, KaxListBox, KaxListBox) |
Transfers the specified list of items from the source to the destination listbox. Fires the
Transferring and
Transferred events.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax public virtual void Transfer(
IList<KaxListBoxItem> itemsToTransfer,
KaxListBox sourceListBox,
KaxListBox destinationListBox
)
Public Overridable Sub Transfer (
itemsToTransfer As IList(Of KaxListBoxItem),
sourceListBox As KaxListBox,
destinationListBox As KaxListBox
)
public:
virtual void Transfer(
IList<KaxListBoxItem^>^ itemsToTransfer,
KaxListBox^ sourceListBox,
KaxListBox^ destinationListBox
)
abstract Transfer :
itemsToTransfer : IList<KaxListBoxItem> *
sourceListBox : KaxListBox *
destinationListBox : KaxListBox -> unit
override Transfer :
itemsToTransfer : IList<KaxListBoxItem> *
sourceListBox : KaxListBox *
destinationListBox : KaxListBox -> unit
Parameters
- itemsToTransfer
- Type: System.Collections.GenericIListKaxListBoxItem
The items to transfer. - sourceListBox
- Type: Kettic.AspNet.ControlsKaxListBox
The source list box. - destinationListBox
- Type: Kettic.AspNet.ControlsKaxListBox
The destination list box.
Remarks
Always call the Transfer method of the KaxListBox whose
TransferToID property is set!
The Transfer method updates the underlying datasource if the
AllowAutomaticUpdates is set to
true.
Examples KaxListBox1.TransferToID = "KaxListBox2";
KaxListBox1.Transfer(KaxListBox1.Items, KaxListBox1, KaxListBox2);
KaxListBox1.Transfer(KaxListBox2.Items, KaxListBox2, KaxListBox1);
KaxListBox1.TransferToID = "KaxListBox2"
KaxListBox1.Transfer(KaxListBox1.Items, KaxListBox1, KaxListBox2)
KaxListBox1.Transfer(KaxListBox2.Items, KaxListBox2, KaxListBox1);
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also