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

HTML elements of a default layout not changeable via jQ after navigate()

1 Answer 37 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Wklm
Top achievements
Rank 1
Wklm asked on 02 Jul 2014, 08:51 PM
The app has one default layout for all views. After navigating from initial view to any other view any changes of layout  elements with jQ show no effect.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 07 Jul 2014, 01:11 PM
Hi Wolfgang,

In general the layout is copied for every view in order for multiple features such as animations to work. So you have one layout defined, but it is actually copied for the different views, so changes in the default layout will not affect the other already copied layouts. The best way to change the layout and see the effect is using the show event of the view and its event argument to reference the currently displayed layout, as shown in this example:

http://jsbin.com/zifac/1/edit

Regards,
Kiril Nikolov
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
Report a bug
Asked by
Wklm
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or