Get transferred item text

2 posts, 1 answers
  1. Antony
    Antony avatar
    32 posts
    Member since:
    Feb 2013

    Posted 15 Apr 2013 Link to this post

    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.
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 15 Apr 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top