This is a migrated thread and some comments may be shown as answers.

Layout - showIn calls "show" of active view?

1 Answer 12 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 28 Apr 2015, 07:00 AM

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

 

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 30 Apr 2015, 07:15 AM
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!
 
Tags
General Discussions
Asked by
Patrick
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or