Event for ShowCheckAll button ?

2 posts, 0 answers
  1. Zeev
    Zeev avatar
    6 posts
    Member since:
    Dec 2011

    Posted 15 Feb 2018 Link to this post

    When the user click on the ShowCheckAll button either all entries aree selected or unselected. Looking at the documentation I cannot find any event that is fired for that. Even if there is no specific event for that, I would expect that ClientEntryAdded or ClientEntryRemoved for each of the entries would be fired but thatis not the case either. 

    I need to handle this event as part of a logic that checks if and when the set of selected items is changed. Is there any other way to get notified via an event when ShowCheckAll is clicked ?

    Thanks

    Zeev

  2. Zeev
    Zeev avatar
    6 posts
    Member since:
    Dec 2011

    Posted 15 Feb 2018 in reply to Zeev Link to this post

    A colleague pointed out to me a way (trick) to use to solve this problem which is to use JQuery click event handler for the CheckAll button by assigning it to its CSS class (rddtCheckAllCheckbox) . The function below is assigned to OnClientLoad and set it up. (I still think that telerik should add an event for this action)

    function controlLoaded(sender,args){
        $('.rddtCheckAllCheckbox').click(function () {
            // do your work here
         });
    }

     

     

Back to Top