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

Listbox Transfer with Checkboxes

1 Answer 53 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 05 Oct 2012, 03:02 PM
I've been trying to get a feature similar to this implemented: http://www.telerik.com/community/forums/aspnet-ajax/listbox/onclientselectedindexchanged.aspx

This works fine for one listbox, but after transferring the contents over to the other listbox, the functions do not perform as expected. The checkboxes no longer change, but the selection does. Using the transfer all button to the original side shows that the checkstate actually is being updated.  Moving selections back and forth further screw up the code to the point where I'm not sure what it's doing anymore.

Is there any way to accomplish the feature in the above link and maintaining that functionality across the listbox that the item gets transferred to? I have added items to both the source and destination listbox and confirmed that the function is working individually for the listboxes until a transfer happens.

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 09 Oct 2012, 08:43 AM
Hello Daniel,

This sounds like it might be caused by an issue we had with checkboxes and transferring items, which was logged in as a bug:
Fixed: In client transfer with TransferMode="Move", if you check an item and then transfer it, the item.get_checkBoxElement() doesn't return the correct DOM Element

In the 2012 Q2 SP2 version of the controls this bug is fixed. Could you verify if the problem is reproduced with this version of the controls.
 
All the best,
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.
Tags
ListBox
Asked by
Daniel
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or