View Navigation

Thread is closed for posting
2 posts, 0 answers
  1. Rugved
    Rugved avatar
    3 posts
    Member since:
    Jun 2016

    Posted 13 Jun 2016 Link to this post


    I  just began using this platform last week.I want to navigate from one view to another on submit button click.I used the following code in submit function

     var app = new, {
                    transition: 'slide',
                    skin: 'nova',
                    initial: 'components/home/view.html'

    I want to go from home-view.html to formview-view.html

    It navigates to the other view but the next html page is not displayed properly.

    Also when i hit back button home-view.html is also not displayed properly.

    I am really new to this platform so please help.



  2. Tsvetina
    Tsvetina avatar
    2342 posts

    Posted 15 Jun 2016 Link to this post

    Hi Rugved,

    It seems like you are incorrectly performing the navigation. Note that the must be instantiated only once in your app. Later, when you need to navigate, you can use the method:
    function onSubmit() {"components/formView/view.html");

    If you don't have other logic to perform but only want to navigate from one view to another, you can also consider adding a hyperlink to the view using the Views service.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top