Cannot navigate to view with link created from template

2 posts, 0 answers
  1. seyhan
    seyhan avatar
    1 posts
    Member since:
    Sep 2012

    Posted 05 May 2015 Link to this post

    I have some issue with navigating to a view with a link created from template. This is my code

    <div data-role="view" id="listview-products"> 

      <a data-align="left" data-role="touch" href="\#listview-products">

         <div class='product'>




    <div data-role="view" id="listview-products">





    when i click on this div (in chrome browser on pc) i get this error: XMLHttpRequest cannot load '<deleted for readability>' Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource. 

    I don't understand this error because i am trying to load a plain local view. This works when i use data-role="button" on the div element.


  2. Rosen
    Rosen avatar
    3214 posts

    Posted 07 May 2015 Link to this post

    Hello Seyhan,


    There are two issue with the code you have pasted. Both views' name are identical and the hash tag should not be escaped. Correcting those you address the behavior you have described.


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