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

Double click works when it shouldn't

4 Answers 79 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 22 Dec 2011, 11:09 PM
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

4 Answers, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 23 Dec 2011, 11:07 AM
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
0
Priyalakshmi
Top achievements
Rank 1
answered on 24 Oct 2013, 01:20 PM
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.
0
Kate
Telerik team
answered on 29 Oct 2013, 11:13 AM
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.
0
Priyalakshmi
Top achievements
Rank 1
answered on 30 Oct 2013, 08:26 AM
Thank you Kate for the solution. :)
Tags
ListBox
Asked by
Dave
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Priyalakshmi
Top achievements
Rank 1
Kate
Telerik team
Share this question
or