Custom icon actions not working anymore

3 posts, 0 answers
  1. Iuliana Maria
    Iuliana Maria avatar
    16 posts
    Member since:
    Mar 2015

    Posted 25 Jan 2018 Link to this post

    Hello, 

    Since the last update, the custom window action icons in our project are not working anymore. Also on the demos on the website they seem not to be working.

    Please check the demos at the following links:

    https://docs.telerik.com/kendo-ui/controls/layout/window/how-to/use-custom-action-icons

    https://demos.telerik.com/kendo-ui/window/actions#

     

    Thank you,

    Iuliana

  2. Neli
    Admin
    Neli avatar
    341 posts

    Posted 29 Jan 2018 Link to this post

    Hello Iuliana,

    Thank you very much for reporting the problem. 

    In order for custom actions icons to work properly, the entire button should be selected. By now the selection was, the inner span element, which contains the icon. So, instead of selecting the span with the icon, the click event should be attached to its parent. 
    win.wrapper.find(".k-i-foo").parent().click(function(e) {
     $("#time-foo").html(returnTimeString());
    });
     
    win.wrapper.find(".k-i-clock").parent().click(function(e) {
    $("#time-clock").html(returnTimeString());
    });

    You can find the modified example on the following Dojo.

    The example in our documentation and the demo regarding the custom action icons in Window will be modified as soon as possible.

    As a sign for gratitude for reporting the problem, your Telerik points are now updated. 

    Regards,
    Neli
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Iuliana Maria
    Iuliana Maria avatar
    16 posts
    Member since:
    Mar 2015

    Posted 29 Jan 2018 Link to this post

    Hi Neli,

    Thank you!

Back to Top