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

Check and uncheck items

1 Answer 92 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Oren
Top achievements
Rank 1
Oren asked on 16 Dec 2010, 06:23 PM
Hello,

I have encountered with a strange problem.

I have a 2 list boxes, one source second a destination.
all the items have checkboxes.
Also i have 2 button: "select all","unselect all" on eatch list box header.

The code for the buttons:

function selectAllClick(sender) {
    var listBox = $find(sender);
  
    var items = listBox.get_items();    
    items.forEach(function(itm) { itm.set_checked(true); });
}
  
function unSelectAllClick(sender) {
    var listBox = $find(sender);
  
    var items = listBox.get_items();
    items.forEach(function(itm) { itm.set_checked(false); });
}

The problem:

If i check an any item on one of the listboxes and then transfer it to another listbox and then i click on the unselect all button,
then the item that was transfered (the item transferd when it was checked already) still remain check. the button doens't influence
on the item.

Same problem if i reorder items and then try to check them all with the button.

any ideas?

Thanks
Oren

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 22 Dec 2010, 12:20 PM
Hello Oren,

We are aware of this problem and are now working on fixing it. The next week's latest internal build should contain the fix. More information on how to obtain the latest internal build can be found here.

Kind regards,
Genady Sergeev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ListBox
Asked by
Oren
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or