This is a migrated thread and some comments may be shown as answers.

Get transferred item text

1 Answer 40 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Antony
Top achievements
Rank 1
Antony asked on 15 Apr 2013, 08:35 AM
Hi,

There are two listboxes in my page with transferring and reordering of items enabled. Is it possible to get the item text in javascript on dragging from the item from first listbox and droping into the second listbox?

Thanks,
Antony.

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 15 Apr 2013, 09:22 AM
Hi,

You can attach the OnClientTransferring client side event to your RadListBox and check the following JavaScript.

JavaScript:
<script type="text/javascript">
    function OnClientTransferring(sender, args) {
        alert(args.get_items()[0].get_text());
    }
</script>

Thanks,
Princy.
Tags
ListBox
Asked by
Antony
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or