checkboxes with Javascript not working on IE11

2 posts, 0 answers
  1. Bhushan
    Bhushan avatar
    1 posts
    Member since:
    Apr 2014

    Posted 30 Apr 2014 Link to this post

    hello,
             i want to select all checkboxes on click of header checkbox .it works on other browser except ie 11..?
    is there any solution

    javascript function -->

    function SelectAllCheckBox(headerCheckBox) {
                    try {
                        debugger;
                        var clientID = "";
                        for (var i = 0; i < registeredElements.length; i++) {
                            clientID = registeredElements[i];

                            var checkbox = document.getElementById(clientID);
                            if (checkbox) {
                                if (!headerCheckBox.checked)
                                    checkbox.defaultChecked = selectDeselectAllFlag;
                                else
                                    checkbox.defaultChecked = selectDeselectAllFlag;

                            }
                        }
                        selectDeselectAllFlag = !selectDeselectAllFlag;
                        return true;

                    }
                    catch (er) {

                    }
                }
        
  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 05 May 2014 Link to this post

    Hi Bhushan,

    Can you please try to use GridClientSelectColumn and verify that it is suitable for your scenario?
    http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/selecting/row-selection/defaultcs.aspx

    Looking forward to your reply.


    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top