Listbox Transfer with checkbox

3 posts, 0 answers
  1. Kenny
    Kenny avatar
    2 posts
    Member since:
    May 2014

    Posted 15 May 2014 Link to this post

    Currently I'm working on listbox with checkbox selection for transfer purpose. I'm able to transfer the checked item in source to destination listbox with the following script.
    function clientTransfering(sender, args) {
            var checkedNodes = args.get_sourceListBox().get_checkedItems();
            for (var i in checkedNodes) {
                var item = checkedNodes[i];
    But I not able to transfer checked item from destination listbox back to the source listbox.
    Is there any way of transferring destination listbox item with checkbox back to the source listbox?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 15 May 2014 in reply to Kenny Link to this post

    Hi Kenny,

    Please make sure that you have set the AllowTransfer property and TransferToID property of destination ListBox as follows.

    <telerik:RadListBox ID="RadListBox1" runat="server" AllowTransfer="true" CheckBoxes="true"
        TransferToID="RadListBox2" OnClientTransferring="clientTransfering">
            <telerik:RadListBoxItem Text="Item1" />
            <telerik:RadListBoxItem Text="Item2" />
            <telerik:RadListBoxItem Text="Item3" />
            <telerik:RadListBoxItem Text="Item4" />
            <telerik:RadListBoxItem Text="Item5" />
    <telerik:RadListBox ID="RadListBox2" runat="server" CheckBoxes="true" AllowTransfer="true"

    Let me know if you have any concern.
  3. Kenny
    Kenny avatar
    2 posts
    Member since:
    May 2014

    Posted 15 May 2014 in reply to Shinu Link to this post

    Hi Shinu,

    Thanks for the reply. The transfer function is working properly now.
Back to Top