Remove notification widget also eliminates the wrapper when used appendTo

4 posts, 0 answers
  1. Juan Jose
    Juan Jose avatar
    45 posts
    Member since:
    Jul 2013

    Posted 06 Oct 2014 Link to this post

    When I'm using appendTo if i try to remove the widget instance to show just one notification at the same time the wrapper element is also removed.

    example ('Static in the right panel', then 'Hide all notifications'): http://dojo.telerik.com/alOyo

  2. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 06 Oct 2014 Link to this post

    Hi Juan Jose,

    You don't need to use .parent() in your scenario. The parent is needed only when using popup notificaitons, because in that case each notification container is wrapped inside a popup container.

    Regards,
    Dimo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Juan Jose
    Juan Jose avatar
    45 posts
    Member since:
    Jul 2013

    Posted 06 Oct 2014 in reply to Dimo Link to this post

    Hi Dimo,

    To clarify, when I use appendTo I must use .getNotifications().remove()  but if I don't use appendTo I have to call the parent element this way: .getNotifications().parent().remove(). right?
  5. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 07 Oct 2014 Link to this post

    Hi Juan Jose,

    Yes, exactly.

    Regards,
    Dimo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready