Double click works when it shouldn't

5 posts, 1 answers
  1. Dave
    Dave avatar
    3 posts
    Member since:
    Jul 2011

    Posted 22 Dec 2011 Link to this post

    I have a pair of ListBoxes that I use to transfer items between.  I've disabled the Double Click capability for both ListBoxes, but the right hand box still allows double-clicking.  I was able to duplicate this using the online example here (http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/transfer/defaultcs.aspx).  In the example, disable the Double Click Transfer.  You can verify that double click is disabled by trying to click in the left hand box.  Then, move a couple of items to the right hand box.  Now, double click one of those items and you'll see they are moved back to the left hand box.  This is not the behavior I expected to see.  I need to be able to leave the box enabled, but prevent the user from transferring data by double clicking.  Please help.

    Please note:  Setting Allow Transfer to false does not prevent this type of double clicking to transfer items.  Weird!

    Dave
  2. Answer
    Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 23 Dec 2011 Link to this post

    Hello,

    I was able to reproduce the issue and it turned out to be a bug in the ListBox.
    The bug has been fixed and the working version will be available in our latest internal build.

    Kind regards,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Priyalakshmi
    Priyalakshmi avatar
    12 posts
    Member since:
    Jul 2012

    Posted 24 Oct 2013 Link to this post

    Hii


    Please find the below code which I am using : 
    <td align="center">
    <telerik:RadListBox runat="server" ID="radListBoxSource" Height="200px" Width="250px"
    AllowTransfer="true" TransferToID="RadListBoxDestination" AllowDelete="false"
    Skin="Office2010Black" AutoPostBackOnTransfer="True" OnTransferring="radListBoxSource_Transferring"
    ButtonSettings-ShowTransferAll="false" TabIndex="2" AllowTransferOnDoubleClick="false"  >
    </telerik:RadListBox>
    </td>
    <td align="center">
    <telerik:RadListBox runat="server" ID="radListBoxDestination" Height="200px" Width="250px"
    EmptyMessage="Add Permissions here" AllowReorder="true" AllowDelete="false" Skin="Office2010Black"
    AutoPostBackOnTransfer="True" TransferToID="radListBoxSource" TabIndex="3"
    AllowTransferOnDoubleClick="false"/>
    </td>

    Even though I am disabling double click in both the list boxes, it is still transferring items when the user double clicks. Please help.
  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 29 Oct 2013 Link to this post

    Hello Priyalakshmi,

    I tested the issue that you describe with the 2013.3.1015.40 version of the RadControls but I could not replicate the behavior that you describe. I also tested with the 2011.3.1115 version and it seems to be  a bug of the earlier version. For this reason I would suggest that you upgrade to the latest version of the RadControls and use it instead. I also attached my testing page for your reference.

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  6. Priyalakshmi
    Priyalakshmi avatar
    12 posts
    Member since:
    Jul 2012

    Posted 30 Oct 2013 Link to this post

    Thank you Kate for the solution. :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017