Navigate to self

2 posts, 0 answers
  1. Gary
    Gary avatar
    62 posts
    Member since:
    Sep 2013

    Posted 10 May 2013 Link to this post

    I'm adding some routes on demand, and have a need to issue a navigate to the current url fragment so that my new route can be processed. I noticed that calling router.navigate(location.hash) does not work because you have smarts to shortcut the action if the route has not changed.

    I implemented the following fix, but wanted to share so you can consider adding support for this in the future:
    window.kendo.history.current = "/";
  2. Petyo
    Petyo avatar
    2444 posts

    Posted 14 May 2013 Link to this post

    Hello Gary,

    I am not sure that I understand your case completely. Can you please explain it further? Why would you need navigating to the current url for processing the new routes? 

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