Layout - showIn calls "show" of active view?

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    9 posts
    Member since:
    Jun 2014

    Posted 28 Apr 2015 Link to this post

    In our web application we are switching the active view content as documented using the build in showIn function of the layout class

    layout.showIn("#content", view);

    During debugging sessions we have noticed, that this method also invokes the show method of the current active view and not only the new view.

    We are not quite sure if this is working as designed or if there is a misconfiguration from our side.

    Is it possible to prevent this behaviour?

     

    Thanks in advance.

     

    Regards

    Patrick

     

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2894 posts

    Posted 30 Apr 2015 Link to this post

    Hello Patrick,

    This behaviour is not intended. Could you please prepare a small but runnable Kendo Dojo example which demonstrates your current implementation so I can examine it and assist you further?

    Thank you in advance for the cooperation.

    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top