Check and uncheck items

2 posts, 0 answers
  1. Oren
    Oren avatar
    6 posts
    Member since:
    Dec 2010

    Posted 16 Dec 2010 Link to this post

    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
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 22 Dec 2010 Link to this post

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