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

Switching views back and forth

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Noor
Top achievements
Rank 1
Noor asked on 25 Aug 2014, 06:11 PM
Hello,

I'm new to kendo and was trying to make this view switching work.
This is Kendo UI for windows web and I've two problems.

First: I've used kendo.fx(el).slideIn("left").play(); and it works. But when I want to go bakc to the previous - how do I do that using kendo? Have seen this for mobile but there's nothing for the windows web. I can use simple jQuery to make this work but there gotta be something for kendo.

Next: when I go back and forth - every time the 2nd view keeps recreated, so I get multiple repeated contents on the page. How can I fix this?

If you have a sample SPA project code download available, that'd be great.
File attached,

Thanks.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 27 Aug 2014, 07:34 AM
Hello Noor,

the sample you have posted features several server-side calls and is not runnable on our side. In general, I may recommend that you check the source code of the sushi app and the source code of the aeroviewr. The former one features view transitions when jumping from one item to another. The source code of the apps is distributed in the download bundles, but due to a bug in our build system it was not available in the official release. You may, however use your browser developer tools to review it - it is not minified.

Regards,
Petyo
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
Noor
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or